Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Grant

Implements

Index

Constructors

constructor

  • new Grant(client: HttpClient, pod: Readonly<PODModel & { capabilities: string; condition?: Condition; delegating?: string; grantee?: string; granter: string; permission?: string }>): Grant
  • Parameters

    • client: HttpClient
    • pod: Readonly<PODModel & { capabilities: string; condition?: Condition; delegating?: string; grantee?: string; granter: string; permission?: string }>

    Returns Grant

Properties

Private #client

#client: HttpClient

Optional Readonly capabilities

capabilities: Capabilities

The actions permissible to the grantee on targets selected by the conditions.

Optional Readonly condition

condition: Condition

The condition that describes Assets - Documents and Databases to be shared.

Readonly createdAt

createdAt: Date

The number of seconds since the Unix epoch when this model was created

Optional Readonly delegating

delegating: GrantId

The grant that this grant extends by delegation.

Readonly grantee

grantee: IdentityId | "everyone"

The Identity to which permission is given or everyone,

Readonly granter

granter: IdentityId

The Identity from which permission is given.

Readonly id

The model's unique ID.

Optional Readonly permission

permission: PermissionId

The permission that created this Grant, if any.

Methods

delete

  • delete(): Promise<void>
  • Returns Promise<void>

Generated using TypeDoc