Skip to content

Technical Feasibility: Grouped Roles & Permissions View (Backend/API Strategy) #282

Closed

Description

@MaferMazu

Description
Problem Statement
The new design proposes grouping roles and permissions by user, introducing two states: Collapsed (summary count) and Expanded (detailed scope/assignments).

Currently, our API returns a flat list. Transitioning to a grouped structure poses a challenge for filtering (especially by Organization or Scope). If the initial query only returns counts for the collapsed view, filtering by specific assignment details may require expensive joins or multiple API calls, potentially impacting performance.

Objectives

  • Analyze Data Fetching: Determine if the current API can support filtering on nested data without returning the entire payload.
  • Filter Consistency: Evaluate how to apply "Organization" and "Scope" filters in the collapsed view while maintaining accurate result counts.
  • Performance Check.

Resource
Design: https://www.figma.com/design/onU2END2OXaF7RRLWEHsZI/AuthZ---v2?node-id=7480-15473&t=vd1RV9X7ew93eodw-0

Related #281

Activity

  1. changed the title [-]M3.1 Check tech[/-] [+]Technical Feasibility: Grouped Roles & Permissions View (Backend/API Strategy)[/+] on May 7, 2026
  2. self-assigned this
    on May 8, 2026
  3. moved this to In Progress in RBAC AuthZ Boardon May 14, 2026
  4. MaferMazu commented on May 15, 2026

    @MaferMazu
    ContributorAuthor

    It is possible to filter the info (by scope, org, and role); besides, we didn't have the info in the front. It is how it is done right now. When we filter, we pass as params and create a new request to the backend to obtain the filtered info.

    The strategy will be to have a first request to obtain the base info, and then, when we filter, we make another request; and if I want detailed info, I make another one (paginated); but we still need to define things there, for example: are we going to show all the info or only the one related to the filter?

    We still need to define the details, but in general, it is possible and a good practice.

    cc @gviedma-aulasneo

  5. moved this from In Progress to Done in RBAC AuthZ Boardon May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions