Project

Profile

Help

Issue #9671

closed

Access policies can't be initialized for viewsets that don't subclass NamedModelViewset

Added by newswangerd almost 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/2077":https://github.com/pulp/pulpcore/issues/2077


Pulpcore can only initialize access policies in the database for viewsets that are registered in the pulp/api/v3/ router (https://github.com/pulp/pulpcore/blob/main/pulpcore/app/apps.py#L219). Because of this, there is no easy way to initialize access policies in the database for apps that implement APIs outside of pulp/api/v3/ such as galaxy_ng, pulp_ansible and pulp_container.

Also available in: Atom PDF