Permissions should not be directly granted to users, you identify roles that contain the appropriate permissions, and then grant those roles to the user.
Granting permissions to users quickly become unwieldy and complex to make large scale changes to remove access to a particular resource.
Permissions should be granted on roles, groups, services accounts instead.
Users shouldn’t have permissions granted to them directly
Roles should be granted permissions and assigned to users
The following example will fail the google-iam-no-user-granted-permissions check.
The following example will pass the google-iam-no-user-granted-permissions check.