AccessLevel

public enum AccessLevel : CustomStringConvertible, JSONRepresentable

Defines the access levels for collaborators.

  • The collaborator is the owner of the shared folder. Owners can view and edit the shared folder as well as set the folder’s policies using updateFolderPolicy.

    Declaration

    Swift

    case owner
  • The collaborator can both view and edit the shared folder.

    Declaration

    Swift

    case editor
  • The collaborator can only view the shared folder.

    Declaration

    Swift

    case viewer
  • The collaborator can only view the shared folder and does not have any access to comments.

    Declaration

    Swift

    case viewerNoComment
  • The collaborator can only view the shared folder that they have access to.

    Declaration

    Swift

    case traverse
  • If there is a Righteous Link on the folder which grants access and the user has visited such link, they are allowed to perform certain action (i.e. add themselves to the folder) via the link access even though the user themselves are not a member on the shared folder yet.

    Declaration

    Swift

    case noAccess
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }