mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-13 18:14:38 +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
|
// IT ONLY CHECKS GROUPS PERMISSIONS IF RESULT FOR USER IS NOT FOUND
|
||||||
PermissionCheckResult resultGroup = checkGroupPermissionWithInheritance(user.getGroup(), targetPermission);
|
PermissionCheckResult resultGroup = checkGroupPermissionWithInheritance(user.getGroup(), targetPermission);
|
||||||
if (resultGroup.resultType != PermissionCheckResult.Type.NOTFOUND) {
|
if (resultGroup.resultType != PermissionCheckResult.Type.NOTFOUND) {
|
||||||
result.accessLevel = targetPermission;
|
resultGroup.accessLevel = targetPermission;
|
||||||
return resultGroup;
|
return resultGroup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user