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

Actions #1

Updated by ipanova@redhat.com almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by ipanova@redhat.com almost 4 years ago

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

Updated by mdellweg almost 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mdellweg
Actions #4

Updated by ipanova@redhat.com almost 4 years ago

  • Sprint set to Sprint 90
Actions #5

Updated by pulpbot almost 4 years ago

  • Status changed from ASSIGNED to POST

Added by mdellweg almost 4 years ago

Revision af1c0bc7 | View on GitHub

Change queryset filter for ContainerDistribution

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

fixes #8206

Actions #6

Updated by mdellweg almost 4 years ago

  • Status changed from POST to MODIFIED

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

Actions #7

Updated by pulpbot almost 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF