ezgh iam permissions check [action...] [--resource name] [flags]Check which of the actions you’re allowed, on the organization or on --resource (a resource name, like ezgh::org_k3f9a0x2m7qp:prj_g7h8i9j0k1l2). Without actions, lists every action you’re allowed there. With actions, exits 4 if any is denied, so scripts can check first:
ezgh iam permissions check projects.delete --resource "$PROJECT" && ...Part of ezgh iam permissions.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--resource |
string | the resource name to check against (default: the organization) |
This command also takes the global flags.