Issue #8206
closedAdd a custom queryset filtering for the ContainerDistribution viewset
Description
Display only those distributions to the user he can see
- it is a public distribution
- has object level perms on distributions
- can see distributions within namespace
Take this code as reference https://github.com/pulp/pulp_container/pull/207/files#r566404900
Updated by ipanova@redhat.com almost 4 years ago
- Project changed from Pulp to Container Support
- Sprint/Milestone set to 2.3.0
Updated by mdellweg almost 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to mdellweg
Updated by pulpbot almost 4 years ago
- Status changed from ASSIGNED to POST
Added by mdellweg almost 4 years ago
Updated by mdellweg almost 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset af1c0bc78fab5f2b178fdd4e06ea8267286eac78.
Added by mdellweg almost 4 years ago
Revision ebda4eb6 | View on GitHub
Change queryset filter for ContainerDistribution
The new implementation takes the private flag as well as namespace permissions into account.
fixes #8206
Added by mdellweg almost 4 years ago
Revision 7d5fde72 | View on GitHub
Change queryset filter for ContainerDistribution
The new implementation takes the private flag as well as namespace permissions into account.
fixes #8206
Added by mdellweg almost 4 years ago
Revision 7d5fde72 | View on GitHub
Change queryset filter for ContainerDistribution
The new implementation takes the private flag as well as namespace permissions into account.
fixes #8206
Updated by pulpbot almost 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Change queryset filter for ContainerDistribution
The new implementation takes the private flag as well as namespace permissions into account.
fixes #8206