Interface IBranchPermissions

All Known Implementing Classes:
BranchPermissions

public interface IBranchPermissions
An object containing the read and write permissions for a given branch.
Author:
ActiveViam
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Set<String>
    Constant used to implement the permission for all users to create, read or edit branches.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the owners of the branch.
    Gets the readers of the branch.
  • Field Details

    • ALL_USERS_ALLOWED

      static final Set<String> ALL_USERS_ALLOWED
      Constant used to implement the permission for all users to create, read or edit branches.
  • Method Details

    • getOwners

      Set<String> getOwners()
      Gets the owners of the branch.
      Returns:
      the owners of the branch
    • getReaders

      Set<String> getReaders()
      Gets the readers of the branch.
      Returns:
      the readers of the branch