Interface ModifiableACLAmetysObject

    • Method Detail

      • addAllowedProfilesForAnonymous

        void addAllowedProfilesForAnonymous​(Set<String> profileIds)
        Adds allowed profiles an anonymous user has on this ametys object
        Parameters:
        profileIds - The profiles to add
      • removeAllowedProfilesForAnonymous

        void removeAllowedProfilesForAnonymous​(Set<String> profileIds)
        Removes allowed profiles an anonymous user has on this ametys object
        Parameters:
        profileIds - The profiles to remove
      • addDeniedProfilesForAnonymous

        void addDeniedProfilesForAnonymous​(Set<String> profileIds)
        Adds denied profiles an anonymous user has on this ametys object
        Parameters:
        profileIds - The profiles to add
      • removeDeniedProfilesForAnonymous

        void removeDeniedProfilesForAnonymous​(Set<String> profileIds)
        Removes denied profiles an anonymous user has on this ametys object
        Parameters:
        profileIds - The profiles to remove
      • addAllowedUsers

        void addAllowedUsers​(Set<UserIdentity> users,
                             String profileId)
        Associates some users with an allowed profile on this ametys object
        Parameters:
        users - The users to add
        profileId - The id of the profile
      • removeAllowedUsers

        void removeAllowedUsers​(Set<UserIdentity> users,
                                String profileId)
        Removes the association between some users and an allowed profile on this ametys object
        Parameters:
        users - The users to remove
        profileId - The id of the profile
      • removeAllowedUsers

        void removeAllowedUsers​(Set<UserIdentity> users)
        Removes the association between some users and all allowed profiles on this ametys object
        Parameters:
        users - The users to remove
      • addAllowedGroups

        void addAllowedGroups​(Set<GroupIdentity> groups,
                              String profileId)
        Associates some groups with an allowed profile on this ametys object
        Parameters:
        groups - The groups to add
        profileId - The id of the profile
      • removeAllowedGroups

        void removeAllowedGroups​(Set<GroupIdentity> groups,
                                 String profileId)
        Removes the association between some groups and an allowed profile on this ametys object
        Parameters:
        groups - The groups to remove
        profileId - The id of the profile
      • removeAllowedGroups

        void removeAllowedGroups​(Set<GroupIdentity> groups)
        Removes the association between some groups and all allowed profiles on this ametys object
        Parameters:
        groups - The groups to remove
      • addDeniedUsers

        void addDeniedUsers​(Set<UserIdentity> users,
                            String profileId)
        Associates some users with a denied profile on this ametys object
        Parameters:
        users - The users to add
        profileId - The id of the profile
      • removeDeniedUsers

        void removeDeniedUsers​(Set<UserIdentity> users,
                               String profileId)
        Removes the association between some users and an denied profile on this ametys object
        Parameters:
        users - The users to remove
        profileId - The id of the profile
      • removeDeniedUsers

        void removeDeniedUsers​(Set<UserIdentity> users)
        Removes the association between some users and all denied profiles on this ametys object
        Parameters:
        users - The users to remove
      • addDeniedGroups

        void addDeniedGroups​(Set<GroupIdentity> groups,
                             String profileId)
        Associates some groups with an allowed profile on this ametys object
        Parameters:
        groups - The groups to add
        profileId - The id of the profile
      • removeDeniedGroups

        void removeDeniedGroups​(Set<GroupIdentity> groups,
                                String profileId)
        Removes the association between some groups and an allowed profile on this ametys object
        Parameters:
        groups - The groups to remove
        profileId - The id of the profile
      • removeDeniedGroups

        void removeDeniedGroups​(Set<GroupIdentity> groups)
        Removes the association between some groups and all allowed profiles on this ametys object
        Parameters:
        groups - The groups to remove
      • disallowInheritance

        void disallowInheritance​(boolean disallow)
        Allow or disallow inheritance of permissions
        Parameters:
        disallow - true to disallow inheritance