Prevent '*' permissions granting the 'groupmanager.noofflineperm'

permission.
This commit is contained in:
ElgarL 2013-01-29 16:14:24 +00:00
parent faad91849d
commit 9e4493fbb4
2 changed files with 4 additions and 1 deletions

View File

@ -209,4 +209,5 @@ v 2.0:
- Synchronize pushing to Bukkit perms to prevent any ConcurrentModificationException.
- Do not grant any permissions (nor update Bukkit) if the server is in offline mode and the player has the permission node 'groupmanager.noofflineperms'.
- Negate 'groupmanager.noofflineperms' by default in the owner group.
- Add support for BukkitForge using 'overworld' as the main world name.
- Add support for BukkitForge using 'overworld' as the main world name.
- Prevent '*' permissions granting the 'groupmanager.noofflineperm' permission.

View File

@ -172,6 +172,8 @@ public class AnjoPermissionsHandler extends PermissionsReaderInterface {
permArray.addAll(GroupManager.BukkitPermissions.getAllRegisteredPermissions(includeChildren));
allPerms = true;
perms.remove("*");
// Remove the no offline perms node as this should not be given.
perms.remove("groupmanager.noofflineperms");
}
for (String perm : perms) {