Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-42930

Connect role bindings API to workspaces

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None
    • HCC UI Sprint 54, HCC UI Sprint 55

      Mocks:
      https://www.figma.com/design/ay6AYgKYoF0yh1evYctbyP/Workspaces-MVP?node-id=1-3&p=f&t=GdKhvFXBAOvcCp6t-0

      API spec:
      https://raw.githubusercontent.com/RedHatInsights/insights-rbac/refs/heads/master/docs/source/specs/v2/openapi.json

      From Libor:

      For the "Roles Assigned in this workspace" table:
      "?fields=last_modified,subject(id,group.name,group.description,group.user_count),role(id, name),resource(id,name,type)"
      This table is ready to be worked on.
       
      For the "Roles Assigned in parent workspace" table, we need to add "inherited_from(name,type)" {}to fields param and "set parent_role_bindings=true" so:
      "?fields=last_modified,subject(id,group.name,group.description,group.user_count),role(id, name),resource(id,name,type),inherited_from(name,type)&parent_role_bindings=true"
      This table is waiting for "parent_role_bindings" to be implemented in the API with this ticket.
      This table is ready to be worked on.

      for both: it needs to have also (`resource_id=019b9334-cd38-74d2-9143-c9d644c674dd&resource_type=workspace&subject_type=group`)
       

              zsleiman Zein Sleiman
              apinkert-insights Austin Pinkerton
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: