interface HasPermissionRequest
object: string;
object_type: string;
options?: Record<string, string>;
permission: string;
principal?: string;
object: string;
object_type: string;
options?: Record<string, string>;
permission: string;
principal?: string;
- Defined in src/types.ts:3526
Properties
Properties
Optionalprincipal
principal?: string
Name of the user for which the permission is being checked. Must be an existing user. If blank, will use the current user.
- Defined in src/types.ts:3528
Name of object to check for the requested permission. It is recommended to use a fully-qualified name when possible.