Backend: scope driver grants space access from app-owned membership (IdP groups stay read-only) #214
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent: #211. Depends on the membership store.
Today
scope.Driver.resolvegrants/spaces/<g>access purely fromauth.User.Groups(IdP). Extend it so a user also reaches spaces where the app-owned store lists them as a member, with the same read/write +-rosemantics.Scope
resolveconsults both sources: IdP-group membership (existing, read/write per-ro) and app-owned membership (owner=write, member role=write/read).Listof/spaces(kindSyntheticSpaces) unions IdP groups + app-owned spaces the user belongs to (dedupe by name).Acceptance: scope tests covering: member of an app-owned space can read/write; non-member cannot see or resolve it; read-role member is read-only; owner is write; IdP-group spaces unchanged; listing unions both without duplicates.