Project

Profile

Help

Issue #8206

closed

Add a custom queryset filtering for the ContainerDistribution viewset

Added by ipanova@redhat.com almost 4 years ago. Updated almost 4 years ago.

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

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

Also available in: Atom PDF