Skip to Content

permissionFor()

function permissionFor(kind, level): | ResourceKindPermission | undefined;

The permission for kind at level, or undefined when the kind has no such level.

Parameters

kind

| "projects" | "products" | "accounts" | "customers" | "logs" | "backups" | "secrets-integrations" | "subscription-sign-ins" | "starred-items" | "api-keys"

level

"write" | "read"

Last updated on