diff options
author | ElgarL <ElgarL@palmergames.com> | 2013-02-25 10:11:44 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2013-02-25 10:11:44 +0000 |
commit | 29746df914f009dfb813dc926d4020845ff5944f (patch) | |
tree | 5cf2dd331ca693860d9ae602230513e476d238b0 /EssentialsGroupManager | |
parent | 399be38680b7b502f12e160ebab40647589d6a00 (diff) | |
download | Essentials-29746df914f009dfb813dc926d4020845ff5944f.tar Essentials-29746df914f009dfb813dc926d4020845ff5944f.tar.gz Essentials-29746df914f009dfb813dc926d4020845ff5944f.tar.lz Essentials-29746df914f009dfb813dc926d4020845ff5944f.tar.xz Essentials-29746df914f009dfb813dc926d4020845ff5944f.zip |
Fix setting of accessLevel on User level permission tests.
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java index f303aea35..bef2fb713 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java @@ -708,6 +708,7 @@ public class AnjoPermissionsHandler extends PermissionsReaderInterface { for (String access : user.getPermissionList()) { result.resultType = comparePermissionString(access, permission); if (result.resultType != PermissionCheckResult.Type.NOTFOUND) { + result.accessLevel = access; return result; } } @@ -732,6 +733,7 @@ public class AnjoPermissionsHandler extends PermissionsReaderInterface { for (String access : group.getPermissionList()) { result.resultType = comparePermissionString(access, permission); if (result.resultType != PermissionCheckResult.Type.NOTFOUND) { + result.accessLevel = access; return result; } } |