Project

Profile

Help

Task #8161

closed

Add ability to check repo permissions on a repository version viewset of a plugin

Added by ttereshc over 1 year ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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 #1

Updated by ttereshc over 1 year ago

  • Description updated (diff)
Actions #2

Updated by ttereshc over 1 year ago

  • Tracker changed from Issue to Task
  • % Done set to 0
  • Severity deleted (2. Medium)
  • Triaged deleted (No)
Actions #3

Updated by ttereshc over 1 year ago

  • Sprint/Milestone set to 3.10.0
Actions #4

Updated by pulpbot over 1 year ago

  • Status changed from ASSIGNED to POST

Added by ttereshc over 1 year ago

Revision 5d79a056

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

Actions #5

Updated by ttereshc over 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

Added by ttereshc over 1 year ago

Revision ba930c3e

Fix repo attribute check to work with the detail model

re #8161 https://pulp.plan.io/issues/8161

Actions #7

Updated by pulpbot over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF