boolean value = !permission.startsWith("^");
permission = value ? permission : permission.substring(1);
if (g.hasPermission(permission, false)) {
g.removePermission(permission, true);
for (User user : gm.getAffectedUsers(g)) {
user.applyPermissions(gm.getFactory());
}
return true;