Permissions

public struct Permissions : OptionSet
extension Folder.Permissions: CustomStringConvertible

Folder permissions. Folder permissions apply to folders not owned by the users that access them. They are controlled by the owner of the folder.

  • Declaration

    Swift

    public let rawValue: Int
  • Users can access this folder’s metadata and the metadata of its children recursively.

    Declaration

    Swift

    public static let read: Folder.Permissions
  • Users can create folders, upload files and copy files and folders to this folder.

    Declaration

    Swift

    public static let create: Folder.Permissions
  • Users can modify the content of files inside this folder. Files and folders can also be renamed.

    Declaration

    Swift

    public static let modify: Folder.Permissions
  • Users can delete and move content inside this folder.

    Declaration

    Swift

    public static let delete: Folder.Permissions
  • Declaration

    Swift

    public init(rawValue: Int)
  • Undocumented

    Declaration

    Swift

    public init(canRead: Bool, canCreate: Bool, canModify: Bool, canDelete: Bool)
  • Undocumented

    Declaration

    Swift

    public var canRead: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var canCreate: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var canModify: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var canDelete: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var canEdit: Bool { get }
  • Declaration

    Swift

    public var description: String { get }