Skip to content

feat(access-control): page and filter role lists #609

Closed

Description

@uniqueg

Problem

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

  1. added this to the v0.21.0 milestone on Nov 3, 2026
  2. added
    priority: medium
    status: triage
    type: feature
    workload: days
    status: in progress
    and removed
    status: triage
    on Nov 3, 2026
  3. removed
    status: in progress
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: featureworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions