MemberPermission

open class MemberPermission : CustomStringConvertible

Whether the user is allowed to take the action on the associated member.

  • The action that the user may wish to take on the member.

    Declaration

    Swift

    public let action: Sharing.MemberAction
  • True if the user is allowed to take the action.

    Declaration

    Swift

    public let allow: Bool
  • The reason why the user is denied the permission. Not present if the action is allowed.

    Declaration

    Swift

    public let reason: Sharing.PermissionDeniedReason?
  • Declaration

    Swift

    open var description: String { get }