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

Include workspace hierarchy in RBAC v1 /access/ checks where applicable

XMLWordPrintable

    • Product / Portfolio Work
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Assuming a hierarchy of workspaces of Root (1) -> Default (2) -> Standard (3) -> Sub1 (4) | Sub2 (5):

      • If I create a role in v1 RBAC where I've added the ID from the Standard workspace, (3), which has two descendants (4,5) via a current inventory group permission ("inventory:groups:read", "inventory:groups:write", "inventory:groups:*") as an attribute filter on the "group.id" key, when I query my inventory permissions /access/?application=inventory then I should see IDs for workspaces 3, 4 and 5 in my resourceDefinitions in a flat list, for the corresponding role/permission, where today I'd only see 3.
      • No other applications or permissions should trigger this logic.
      Show
      Assuming a hierarchy of workspaces of Root (1) -> Default (2) -> Standard (3) -> Sub1 (4) | Sub2 (5) : If I create a role in v1 RBAC where I've added the ID from the Standard workspace, (3), which has two descendants (4,5) via a current inventory group permission ("inventory:groups:read", "inventory:groups:write", "inventory:groups:*") as an attribute filter on the "group.id" key, when I query my inventory permissions /access/?application=inventory then I should see IDs for workspaces 3, 4 and 5 in my resourceDefinitions in a flat list, for the corresponding role/permission, where today I'd only see 3. No other applications or permissions should trigger this logic.
    • Unset
    • None

      In order to support the incremental rollout of workspace CRUD operations in the new workspace UI, we'll need to ensure that when workspaces are created with hierarchy, that any access policies (roles with resource definitions) built off of workspaces will include descendants.

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

                Created:
                Updated:
                Resolved: