mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-08 03:50:06 +01:00
Prevent '*' permissions granting the 'groupmanager.noofflineperm'
permission.
This commit is contained in:
parent
faad91849d
commit
9e4493fbb4
@ -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.
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user