Repository navigation
Description
What happened
In the Edit User dialog, policy fields on accounts with no access group still say they are inherited: “Inherited: Allowed”, “Inherit from group”, and so on. This includes every admin account, since admins can't join groups (#1195 AC4). There is no group to inherit from; the values are the server's fixed no-group defaults. The wording made the validator think an admin was still attached to a group.
Steps to reproduce
- Admin → Users, then open an admin account, or a user with No group, and click Edit.
- Open the Access and Limits tabs and look at fields that aren't overridden.
Expected behavior
“Inherited” is used only when the value comes from the user's access group. With no group, the field says where the value really comes from, for example “Server default: Allowed”, and the library field says “Server default (all libraries)”.
Silo version / commit
Build 807 · d4e35ba9
Deployment
Not recorded.
Clients affected
Web UI
Relevant logs
No logs available.
Technical notes
Source at d4e35ba9:
web/src/components/UserPolicyFields.tsxbuilds every hint withinheritHint(), which gives “Inherited: …” or “Inherited from group”. The library selector uses the label “Inherit from group”. Limit fields say “turn Override off to inherit.” None of these check whether the account has a group.- With no group, the hints come from
NO_GROUP_POLICYin the same file, a hand-kept copy ofaccess.NoGroupPolicy()ininternal/access/groups.go. These defaults are fixed in code and can't be set in admin settings. The effective policy for admins and ungrouped users therefore comes from the server's built-in defaults, not from a group.
Suggested fix: pick the wording from the selected group. “Inherited from ” when there is a group, “Server default” when there isn't.
Validation reference
Observed while validating #1197 C2 (admin accounts cannot join groups); parent #1195 AC4. Related: #1398 (same labels truncated). Not marked as blocking.
AI harness
Claude Code
AI tool(s)
Claude Code, GitHub CLI
AI model(s)
claude-opus-5-5
AI involvement
AI-assisted
Independent or adversarial review
n/a
Confirmations
- I reproduced this myself on a real deployment (maintainer-observed)
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Activity
zZebrahz commentedon Sep 24, 2026
Related: #1402 removes “No group” for regular users, and #1403 makes admins default to full access. Together they limit this bug to how admin defaults are labelled (for example “Admin default: Allowed”).
fix(web): label admin and no-group policy defaults by their source (S…