Details about a permission granted to a user or group.

interface PermissionGrant {
    holder?: PermissionHolder;
    id?: number;
    permission?: string;
    self?: string;
}

Hierarchy

  • Record<string, unknown>
    • PermissionGrant

Properties

The user or group being granted the permission. It consists of a type, a type-dependent parameter and a type-dependent value. See Holder object in Get all permission schemes for more information.

id?: number

The ID of the permission granted details.

permission?: string

The permission to grant. This permission can be one of the built-in permissions or a custom permission added by an app. See Built-in permissions in Get all permission schemes for more information about the built-in permissions. See the project permission and global permission module documentation for more information about custom permissions.

self?: string

The URL of the permission granted details.