Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-765

Refactor RBAC classes

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • 2.2
    • None
    • Backend
    • None
    • 4.5.0a Sprint 5, 4.5.0 Sprint 6, 4.5.0 Sprint 7, 4.5.0a Sprint 4

      With the viewsets for collections moving over to pulp ansible, we'll need a way to insert our RBAC into the pulp ansible viewsets. Pulp core will make permission classes configurable in 3.15 (https://pulp.plan.io/issues/8974). To work with these changes, our existing AccessPolicyBase class has to be refactored to be compatible with the AccessPolifyFromDB class in pulp core.

      AccesPolicyBase will have to be updated to check the viewset for a name, load the access policy for the viewset from a dictionary and return the viewset's default access policy of one isn't defined in galaxy ng.

              dnewswan David Newswanger
              dnewswan David Newswanger
              Christian Torrens Christian Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: