manageMembership not deleted
This commit is contained in:
parent
45eac1093d
commit
fbeef3e75f
1 changed files with 4 additions and 0 deletions
|
@ -188,6 +188,10 @@ class GroupPermissions implements GroupPermissionEvaluator, GroupPermissionManag
|
||||||
if (manageMembersPermission == null) {
|
if (manageMembersPermission == null) {
|
||||||
authz.getStoreFactory().getPolicyStore().delete(viewMembersPermission.getId());
|
authz.getStoreFactory().getPolicyStore().delete(viewMembersPermission.getId());
|
||||||
}
|
}
|
||||||
|
Policy manageMembershipPermission = manageMembershipPermission(group);
|
||||||
|
if (manageMembershipPermission != null) {
|
||||||
|
authz.getStoreFactory().getPolicyStore().delete(manageMembershipPermission.getId());
|
||||||
|
}
|
||||||
Resource resource = groupResource(group);
|
Resource resource = groupResource(group);
|
||||||
if (resource != null) authz.getStoreFactory().getResourceStore().delete(resource.getId());
|
if (resource != null) authz.getStoreFactory().getResourceStore().delete(resource.getId());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue