Group resolution: OIDC groups → User.Groups + /me (#17) #35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/group-resolution"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First step of the authorization work (#16 builds on this).
auth.Usergains aGroups []stringfield; sessions already store the fullUser, so groups resolved at login flow to every request.claims.Groupsinto the issued session (previously dropped atSessions.Issue).GET /api/v1/mereturns{username, groups}(empty array, not null, when none).User.Groups; no-group users round-trip cleanly.LDAP
memberOfis deferred to a small follow-up (it needs threading groups through the search-then-bind + verified cache — kept out of this PR to avoid a risky refactor). Local auth has no groups by design. Nothing consumes groups yet; the per-group/spaces/<group>authorization (#16) is the consumer.