mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
Bug 5040: fixed server permission check
This commit is contained in:
1 parent
1498e5e7e7
commit
aabb0da7b8
1 file changed
+1
-1
@@ -1704,7 +1704,7 @@ public class SecurityServiceImpl implements ReplicableSecurityService, ClearStat
|
||||
public boolean hasCurrentUserServerPermission(ServerActions action) {
|
||||
return SecurityUtils.getSubject().isPermitted(
|
||||
SecuredSecurityTypes.SERVER.getStringPermissionForTypeRelativeIdentifier(
|
||||
ServerActions.CREATE_OBJECT, new TypeRelativeObjectIdentifier(ServerInfo.getName())));
|
||||
action, new TypeRelativeObjectIdentifier(ServerInfo.getName())));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user