You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Backend: Define API contract for user-grouped data #405
Design and document the contract (possibly with an ADR) for the endpoint that will return roles and permissions grouped by user (instead of a flat list).
Changes must support efficient filtering by organization, roles, and scopes, as well as searches by full name, username, or email address.
Use canonical endpoint: GET /api/authz/v1/users/ (do not change the /assignments/ response shape).
Filter semantics: a user is included if they have ≥1 matching assignment; the nested list shows only matching assignments; assignation_count is the filtered count.
Preview: assignments_limit default 3.
“View all roles” → GET /users/<username>/assignments/ with the sameorgs/roles/scopes.
New fields: assignments[], scope_display_name, scope_type.
Table sort: user fields only (username, email, full_name).
This is just one possible solution; another decision can be made.
Activity
[-]Define API contract for user-grouped data[/-][+]Backend: Define API contract for user-grouped data[/+]