/** * if the group has optin granted to all * @return true */ public boolean isGrantAllOptin() { return this.group.hasOptin(SubjectFinder.findAllSubject()); }
/** * if the group has attr read granted to all * @return true */ public boolean isGrantAllAttrRead() { return this.group.hasGroupAttrRead(SubjectFinder.findAllSubject()); }
/** * if the group has optout granted to all * @return true */ public boolean isGrantAllOptout() { return this.group.hasOptout(SubjectFinder.findAllSubject()); }
/** * if the group has attr update granted to all * @return true */ public boolean isGrantAllAttrUpdate() { return this.group.hasGroupAttrUpdate(SubjectFinder.findAllSubject()); }
/** * if the group has admin granted to all * @return true */ public boolean isGrantAllAdmin() { return this.group.hasAdmin(SubjectFinder.findAllSubject()); }
/** * if the group has update granted to all * @return true */ public boolean isGrantAllUpdate() { return this.group.hasUpdate(SubjectFinder.findAllSubject()); }
/** * if the group has read granted to all * @return true */ public boolean isGrantAllRead() { return this.group.hasRead(SubjectFinder.findAllSubject()); }
/** * if the group has view granted to all * @return true */ public boolean isGrantAllView() { return this.group.hasView(SubjectFinder.findAllSubject()); }
/** * Remove GrouperAll and GrouperSystem from the returned subjects. * * @param subjects * @return the filtered set of subjects */ public Set<Subject> filterInternalSubjects(Set<Subject> subjects) { // filter GrouperSystem if (subjects.contains(SubjectFinder.findRootSubject())) { subjects.remove(SubjectFinder.findRootSubject()); } // filter GrouperAll if (subjects.contains(SubjectFinder.findAllSubject())) { subjects.remove(SubjectFinder.findAllSubject()); } return subjects; }
/** * if the attrDef has update granted to all * @return true */ public boolean isGrantAllUpdate() { return this.attributeDef.getPrivilegeDelegate().hasAttrUpdate(SubjectFinder.findAllSubject()); }
/** * if the attrDef has optin granted to all * @return true */ public boolean isGrantAllOptin() { return this.attributeDef.getPrivilegeDelegate().hasAttrOptin(SubjectFinder.findAllSubject()); }
/** * if the attrDef has admin granted to all * @return true */ public boolean isGrantAllAdmin() { return this.attributeDef.getPrivilegeDelegate().hasAttrAdmin(SubjectFinder.findAllSubject()); }
/** * if the attrDef has attr update granted to all * @return true */ public boolean isGrantAllAttrUpdate() { return this.attributeDef.getPrivilegeDelegate().hasAttrDefAttrUpdate(SubjectFinder.findAllSubject()); }
/** * if the attrDef has read granted to all * @return true */ public boolean isGrantAllRead() { return this.attributeDef.getPrivilegeDelegate().hasAttrRead(SubjectFinder.findAllSubject()); }
/** * if the attrDef has view granted to all * @return true */ public boolean isGrantAllView() { return this.attributeDef.getPrivilegeDelegate().hasAttrView(SubjectFinder.findAllSubject()); }
/** * if the attrDef has optout granted to all * @return true */ public boolean isGrantAllOptout() { return this.attributeDef.getPrivilegeDelegate().hasAttrOptout(SubjectFinder.findAllSubject()); }
/** * if the attrDef has attr read granted to all * @return true */ public boolean isGrantAllAttrRead() { return this.attributeDef.getPrivilegeDelegate().hasAttrDefAttrRead(SubjectFinder.findAllSubject()); }
Subject everyEntitySubject = SubjectFinder.findAllSubject();
Subject everyEntitySubject = SubjectFinder.findAllSubject();
Subject everyEntitySubject = SubjectFinder.findAllSubject();