mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-09-19 11:31:03 +02:00
Prevent '*' permissions granting the 'groupmanager.noofflineperm'
permission.
This commit is contained in:
parent
faad91849d
commit
9e4493fbb4
@ -210,3 +210,4 @@ v 2.0:
|
|||||||
- Do not grant any permissions (nor update Bukkit) if the server is in offline mode and the player has the permission node 'groupmanager.noofflineperms'.
|
- 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.
|
- 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));
|
permArray.addAll(GroupManager.BukkitPermissions.getAllRegisteredPermissions(includeChildren));
|
||||||
allPerms = true;
|
allPerms = true;
|
||||||
perms.remove("*");
|
perms.remove("*");
|
||||||
|
// Remove the no offline perms node as this should not be given.
|
||||||
|
perms.remove("groupmanager.noofflineperms");
|
||||||
}
|
}
|
||||||
|
|
||||||
for (String perm : perms) {
|
for (String perm : perms) {
|
||||||
|
Loading…
Reference in New Issue
Block a user