PermissionDeniedReason

public enum PermissionDeniedReason : CustomStringConvertible, JSONRepresentable

Possible reasons the user is denied a permission.

  • User is not on the same team as the folder owner.

    Declaration

    Swift

    case userNotSameTeamAsOwner
  • User is prohibited by the owner from taking the action.

    Declaration

    Swift

    case userNotAllowedByOwner
  • Target is indirectly a member of the folder, for example by being part of a group.

    Declaration

    Swift

    case targetIsIndirectMember
  • Target is the owner of the folder.

    Declaration

    Swift

    case targetIsOwner
  • Target is the user itself.

    Declaration

    Swift

    case targetIsSelf
  • Target is not an active member of the team.

    Declaration

    Swift

    case targetNotActive
  • Folder is team folder for a limited team.

    Declaration

    Swift

    case folderIsLimitedTeamFolder
  • The content owner needs to be on a Dropbox team to perform this action.

    Declaration

    Swift

    case ownerNotOnTeam
  • The user does not have permission to perform this action on the link.

    Declaration

    Swift

    case permissionDenied
  • The user’s team policy prevents performing this action on the link.

    Declaration

    Swift

    case restrictedByTeam
  • The user’s account type does not support this action.

    Declaration

    Swift

    case userAccountType
  • The user needs to be on a Dropbox team to perform this action.

    Declaration

    Swift

    case userNotOnTeam
  • Folder is inside of another shared folder.

    Declaration

    Swift

    case folderIsInsideSharedFolder
  • Policy cannot be changed due to restrictions from parent folder.

    Declaration

    Swift

    case restrictedByParentFolder
  • An unspecified error.

    Declaration

    Swift

    case insufficientPlan(Sharing.InsufficientPlan)
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }