mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-13 01:54:25 +02:00
Fixed manucheckp on group (missed it in last commit)
This commit is contained in:
@@ -718,7 +718,7 @@ public class AnjoPermissionsHandler extends PermissionsReaderInterface {
|
||||
// IT ONLY CHECKS GROUPS PERMISSIONS IF RESULT FOR USER IS NOT FOUND
|
||||
PermissionCheckResult resultGroup = checkGroupPermissionWithInheritance(user.getGroup(), targetPermission);
|
||||
if (resultGroup.resultType != PermissionCheckResult.Type.NOTFOUND) {
|
||||
result.accessLevel = targetPermission;
|
||||
resultGroup.accessLevel = targetPermission;
|
||||
return resultGroup;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user