File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to ` inspirecms-core ` will be documented in this file.
44
5+ ## 0.0.55 - 2025-05-20
6+
7+ ** Full Changelog** : https://github.com/solutionforest/Inspirecms-core/compare/0.0.54...0.0.55
8+
59## 0.0.54 - 2025-05-20
610
711** Full Changelog** : https://github.com/solutionforest/Inspirecms-core/compare/0.0.53...0.0.54
Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ function has_super_admin_role($user): bool
116116 $ roleName = inspirecms_permissions ()->getSuperAdminRoleName ();
117117 $ guardName = AuthHelper::guardName ();
118118
119-
120119 try {
121120 if (in_array ('Spatie\Permission\Traits\HasRoles ' , trait_uses_recursive ($ user ))) {
122121 return $ user ->hasRole ($ roleName , $ guardName );
You can’t perform that action at this time.
0 commit comments