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

Internal RBAC spec should support external tenant filtering

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      • I should be able to confirm that when I send a GET request to /api/rbac/v1/integrations/tenant/<orgId>/groups/<uuid>/roles/?role_external_tenant=foo that only receive roles for tenant "foo".
      • If I generate a client based on the internal OpenAPI spec, I should have the ability to send "role_external_tenant" as a query parameter to /api/rbac/v1/integrations/tenant/<orgId>/groups/<uuid>/roles/
      Show
      I should be able to confirm that when I send a GET request to /api/rbac/v1/integrations/tenant/<orgId>/groups/<uuid>/roles/?role_external_tenant=foo that only receive roles for tenant "foo". If I generate a client based on the internal OpenAPI spec, I should have the ability to send "role_external_tenant" as a query parameter to /api/rbac/v1/integrations/tenant/<orgId>/groups/<uuid>/roles/
    • Unset
    • No
    • Platform A&M Sprint 54, Platform A&M Sprint 55

      The /api/rbac/v1/integrations/tenant/<orgId>/groups/<uuid>/roles/ endpoint in the internal spec [1] needs to add support for the query param which allows roles to be filtered by external tenants.

      We should be able to use the same query param as is in the external spec [2] for "role_external_tenant".

      [1] https://github.com/RedHatInsights/insights-rbac/blob/master/rbac/internal/specs/openapi.json#L304
      [2] https://github.com/RedHatInsights/insights-rbac/blob/cc2faa15dc08916fd7f3be639ce9952a358db47a/docs/source/specs/openapi.json#L1396-L1402

              kwalsh@redhat.com Keith Walsh
              kwalsh@redhat.com Keith Walsh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: