Permissions

public struct Permissions : OptionSet, Codable

Represents various permissions that can be granted to a user with access to a SecuredContainer. These permissions will be enforced by the Absio Broker™ application when using the ServerProvider, and will restrict certain information from being shared with the user. The OfsProvider will not enforce the adherence to the permissions.

  • Declaration

    Swift

    public let rawValue: Int
  • Permission to decrypt the SecuredContainer header and content.

    Declaration

    Swift

    public static let decryptContainer: Permissions
  • Permission to modify the SecuredContainer header and content and upload to the server.

    Declaration

    Swift

    public static let uploadContainer: Permissions
  • Permission to view the access list for the SecuredContainer.

    Declaration

    Swift

    public static let viewAccess: Permissions
  • Permission to modify the access list for the SecuredContainer.

    Declaration

    Swift

    public static let modifyAccess: Permissions
  • Permission to modify the categorical type of the SecuredContainer.

    Declaration

    Swift

    public static let modifyContainerType: Permissions
  • Permission to view the categorical type of the SecuredContainer.

    Declaration

    Swift

    public static let viewContainerType: Permissions
  • Container (type) Access (action) events are controlled by the presence of the RX_ACCESS_EVENTS permission flag.

    Declaration

    Swift

    public static let receiveAccessEvents: Permissions
  • Declaration

    Swift

    public init(rawValue: Int)

    Parameters

    rawValue

    raw value of access struct

  • Creator have a all set of permissions by default.

    Declaration

    Swift

    public static func defaultForCreator() -> Permissions
  • Recipients have a limited set of permissions by default.

    Declaration

    Swift

    public static func defaultForReciepient() -> Permissions