All Known Implementing Classes:
JpaAclDb

public interface AclDb
The ACL DB stores ACLs on a per organization basis.
  • Method Details

    • getAcls

      List<ManagedAcl> getAcls(Organization org)
      Return all ACLs of this organization.
    • getAcl

      Optional<ManagedAcl> getAcl(Organization org, long id)
      Return an ACL of an organization by its ID.
      Returns:
      some if the ACL could be found, none if the ACL with the given ID does not exist.
    • updateAcl

      boolean updateAcl(ManagedAcl acl)
      Update an existing ACL.
      Returns:
      true on a successful update, false if no ACL exists with the given ID.
    • createAcl

      Create a new ACL.
      Returns:
      some if the new ACL could be created successfully, none if an ACL with the same name already exists
    • deleteAcl

      boolean deleteAcl(Organization org, long id)
      Delete an ACL by its ID.
      Returns:
      true if the ACL existed and could be deleted successfully, false if there is no such ACL.