Skip to main content
interface GrantPermissionRequest
object: string;
object_type: string;
options?: Record<string, string>;
permission: string;
principal?: string;
object: string

Name of object permission is being granted to. It is recommended to use a fully-qualified name when possible.

object_type: string

The type of object being granted to.

options?: Record<string, string>

Optional parameters.

permission: string

Permission being granted.

principal?: string

Name of the user or role for which the permission is being granted. Must be an existing user or role.