IAM policy
The IAM policy table shows the project’s IAM policy, one row per role and member.
For the project IAM policy, r reloads the table. The equivalent gcloud command is:
gcloud --configuration <active-config> --project <project> \ projects get-iam-policy <project> --format=jsonThe command names the project positionally, not with --project alone. With
no project set in the configuration, nuvem says it has no policy to read, and
does not run a command that would fail with gcloud’s own wording. There is no
--limit. The call returns one policy object, not a list, so a limit would cap
the number of policies and not the number of bindings inside one.
nuvem flattens that object into a table of one row per (role, member) pair. A binding that grants one role to three members is three rows. A member that holds four roles is four rows. With this shape, one table answers both audit questions with /: filter by a member to see what that principal can do, and filter by a role to see who holds it.
The columns are MEMBER, ROLE, TYPE and CONDITION. TYPE is the member’s kind: user, group, service account, domain, principal, principal set, or one of the two public populations. CONDITION shows a conditional binding’s title, not its CEL expression, and a dash on the unconditional majority.
The role is shown verbatim, exactly as the policy spells it. A custom role
reads as projects/, and the predefined role it shadows
reads as roles/editor. If either were shortened, the two would look the same
in the column an audit reads down.
The member cell leads with the badges the row wears:
PUBLIC: the grant is held byallUsers(anyone on the internet, with or without a Google account) or byallAuthenticatedUsers(any authenticated Google account, including accounts outside your organization).DELETED: the principal was deleted after the binding was written, so the grant names an identity that no longer exists.
Neither badge is an error, but both mark a grant to review, so a badged row is colored as a warning, the way an orphaned disk is.
/ can match both. /PUBLIC isolates the badged rows because the badge is a
searched field of its own. /deleted does the same because the member itself
arrives prefixed deleted: and the filter is case-insensitive.
The badges lead the cell because the member column is the one that is cut short first on a narrow terminal. A trailing badge would be the first thing lost on the rows it exists to mark.
The policy table is list-only and read-only. Enter does nothing on a row,
there is no detail pane, and nuvem never issues set-iam-policy. Editing an
IAM policy is out of scope for this service.
nuvem is released under the MIT License. The source is on GitHub.
nuvem is an independent project, not affiliated with or endorsed by Google. Google Cloud is a trademark of Google LLC.