Package version:

Interface PermissionDefinition

interface PermissionDefinition {
    id: string;
    permissionMode: PermissionMode;
    resource: string;
    resourcePartitionKey?: string | any[];
}

Properties

id: string

The id of the permission

permissionMode: PermissionMode

The mode of the permission, must be a value of PermissionMode

resource: string

The link of the resource that the permission will be applied to.

resourcePartitionKey?: string | any[]