ls-projects: Add option to list projects on which a certain group is used
Add a --has-acl-for option to the ls-projects command that allows to list only projects on which access rights for the specified group are assigned directly. Projects which only inherit access rights for this group are not listed. With this option you can find out on which projects a group is (still) used, e.g. before removing a group (by deletion in the database). Change-Id: Iab139425808766fbf4e352584b0035fe1c071d93 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -174,7 +174,7 @@ public class ProjectState {
|
||||
}
|
||||
|
||||
/** Get the sections that pertain only to this project. */
|
||||
private List<SectionMatcher> getLocalAccessSections() {
|
||||
List<SectionMatcher> getLocalAccessSections() {
|
||||
List<SectionMatcher> sm = localAccessSections;
|
||||
if (sm == null) {
|
||||
Collection<AccessSection> fromConfig = config.getAccessSections();
|
||||
|
Reference in New Issue
Block a user