Project

Profile

Help

Task #8161

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

Added by ttereshc about 1 month ago. Updated 27 days 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.

Associated revisions

Revision 5d79a056 View on GitHub
Added by ttereshc about 1 month ago

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

Revision ba930c3e View on GitHub
Added by ttereshc 29 days ago

Fix repo attribute check to work with the detail model

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

History

#1 Updated by ttereshc about 1 month ago

  • Description updated (diff)

#2 Updated by ttereshc about 1 month ago

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

#3 Updated by ttereshc about 1 month ago

  • Sprint/Milestone set to 3.10.0

#4 Updated by pulpbot about 1 month ago

  • Status changed from ASSIGNED to POST

#5 Updated by ttereshc about 1 month ago

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

#7 Updated by pulpbot 27 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF