Skip to main content
Evaluates permissions against the caller’s effective grants. Each positional argument is a permission string in {kind}.{verb} format. The command prints a table showing whether each permission is granted or denied, and exits non-zero if any check is denied. Use this to verify what the current identity is allowed to do before attempting an operation, or to debug authorization issues.

Synopsis

Arguments

Output

A tab-aligned table with one row per permission checked: The command exits with a non-zero status if any permission is denied.

Examples

Check multiple permissions

Check a permission against a specific resource

Flags are parsed only up to the first positional argument, so --resource goes before the permissions:

Errors