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
feat(access-control): page and filter role lists #609
FOCA's role listing (GET .../permissions) returns all roles at once and can't be searched. Resources with many users are awkward to manage.
Proposal
Add paging and a q search parameter to the role listing, for users and groups.
The endpoint layout stays as it is and is the standard for FOCA apps: .../permissions/users/{userId} and .../permissions/groups/{group}. cloud-registry and trs-filer move to or adopt it.
Acceptance criteria
Tests: page limits and links, q with no match, one and several matches, behaviour without the parameters; 100% coverage.
Spec, controllers and docs updated. The default response stays compatible for clients that don't page.
Activity