| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[auth] Minor noop adjustments to role expansion.
These adjustments formally change the output of ExpandRealsm,
but in a way that has no semantic impact (it just rearragnes
some entries and removed empty entries). This simplifies
confirming the bigger refactoring in next CLs doesn't change
expansion logic.
Don't add bindings to empty roles, they do nothing. Happens when
using "role/cq.committer" role, which is currently defined as
having no permissions.
Without this, we end up with bindings like
```
realms: {
name: "..."
bindings: {
principals: "group:abc"
}
...
}
```
That do absolutely nothing. Just skip them. This will match the behavior
of follow up CLs which skip such bindings naturally due to set math.
R=aredulla
BUG=b/503350251
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |