Actions
Task #8161
closedAdd ability to check repo permissions on a repository version viewset of a plugin
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 89
Quarter:
Description
In order to add RBAC to RepositoryVersion viewset in plugins, there needs to be a way to check permissions of a corresponding repository.
Because repository versions are so tightly coupled with repositories, there is no need to create a separate set of permissions for versions.
Each plugin will need to check those, so it makes sense to add it to the global access conditions.
Actions
Add repo attribute check to global access conditions
Plugins can leverage it at least in policies for repository version viewsets.
closes #8161 https://pulp.plan.io/issues/8161