Project

Profile

Help

Issue #8206

Add a custom queryset filtering for the ContainerDistribution viewset

Added by ipanova@redhat.com 9 months ago. Updated 9 months 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

Associated revisions

Revision af1c0bc7 View on GitHub
Added by mdellweg 9 months ago

Change queryset filter for ContainerDistribution

The new implementation takes the private flag as well as namespace permissions into account.

fixes #8206

Revision ebda4eb6 View on GitHub
Added by mdellweg 9 months ago

Change queryset filter for ContainerDistribution

The new implementation takes the private flag as well as namespace permissions into account.

fixes #8206

Revision 7d5fde72 View on GitHub
Added by mdellweg 9 months ago

Change queryset filter for ContainerDistribution

The new implementation takes the private flag as well as namespace permissions into account.

fixes #8206

Revision 7d5fde72 View on GitHub
Added by mdellweg 9 months ago

Change queryset filter for ContainerDistribution

The new implementation takes the private flag as well as namespace permissions into account.

fixes #8206

History

#1 Updated by ipanova@redhat.com 9 months ago

  • Description updated (diff)

#2 Updated by ipanova@redhat.com 9 months ago

  • Project changed from Pulp to Container Support
  • Sprint/Milestone set to 2.3.0

#3 Updated by mdellweg 9 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mdellweg

#4 Updated by ipanova@redhat.com 9 months ago

  • Sprint set to Sprint 90

#5 Updated by pulpbot 9 months ago

  • Status changed from ASSIGNED to POST

#6 Updated by mdellweg 9 months ago

  • Status changed from POST to MODIFIED

#7 Updated by pulpbot 9 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF