interface GrantPermissionRequest
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:3334
Properties
Properties
Optionalprincipal
principal?: string
Name of the user or role for which the permission is being granted. Must be an existing user or role.
- Defined in src/types.ts:3336
Name of object permission is being granted to. It is recommended to use a fully-qualified name when possible.