ACL editor: show identity-less principals (service accounts)#691
Merged
Conversation
The principal list came from the Auth service's identity table, so a principal with no kerberos/sparkplug identity - which is what service-setup now creates for OIDC service accounts - could hold grants but never appeared in the editor, making it impossible to grant to a wall display's principal from the UI. Union in the members of the ConfigDB Principal class, shown with a muted 'No identity' placeholder, and fall back to the principal's name in group-removal messages.
AlexGodbehere
added a commit
that referenced
this pull request
Jul 23, 2026
Adds the v6.1.3 section covering the ACL editor identity-less principals fix (#691). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The ACL editor's principal list was built from
auth.list_principals(), which only returns principals holding an identity record (kerberos/sparkplug). The F+ principals service-setup creates for OIDC service accounts (#688) deliberately have no identity, so they could hold grants but were invisible in the editor - there was no way to grant a wall display its MQTT read permission from the UI.usePrincipalStoreunions in the members of the ConfigDB Principal class (recursive membership, so all principals are covered); identity-less ones getkerberos: null.principal.uuidvia the principal's Permissions tab, which now simply becomes reachable for service accounts.How to test
/v2/acl/<uuid>returns it).🤖 Generated with Claude Code