Project

Profile

Help

Task #8161

closed

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

Added by ttereshc about 3 years ago. Updated about 3 years 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 about 3 years ago

  • Description updated (diff)
Actions #2

Updated by ttereshc about 3 years ago

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

Updated by ttereshc about 3 years ago

  • Sprint/Milestone set to 3.10.0
Actions #4

Updated by pulpbot about 3 years ago

  • Status changed from ASSIGNED to POST

Added by ttereshc about 3 years ago

Revision 5d79a056 | View on GitHub

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 about 3 years ago

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

Added by ttereshc about 3 years ago

Revision ba930c3e | View on GitHub

Fix repo attribute check to work with the detail model

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

Actions #7

Updated by pulpbot about 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF