/** * Remove all permissions that have used this group * * @param group The name of the group that needs to be removed, must NOT be null and must be a real group */ public void removeGroupPermissions(final String group) throws RemoveException { notNull("group", group); notNull(ComponentAccessor.getGroupManager().getGroup(group)); ComponentAccessor.getGlobalPermissionManager().removePermissions(group); ComponentAccessor.getPermissionSchemeManager().removeEntities(GroupDropdown.DESC, group); //If there is issue level security check that otherwise the must be able to see the issue ComponentAccessor.getComponent(IssueSecuritySchemeManager.class).removeEntities(GroupDropdown.DESC, group); }