Project

Profile

Help

Issue #8206

closed

Add a custom queryset filtering for the ContainerDistribution viewset

Added by ipanova@redhat.com over 1 year ago. Updated over 1 year 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 over 1 year ago

  • Description updated (diff)
Actions #2

Updated by ipanova@redhat.com over 1 year ago

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

Updated by mdellweg over 1 year ago

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

Updated by ipanova@redhat.com over 1 year ago

  • Sprint set to Sprint 90
Actions #5

Updated by pulpbot over 1 year ago

  • Status changed from ASSIGNED to POST

Added by mdellweg over 1 year ago

Revision af1c0bc7

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 over 1 year ago

  • Status changed from POST to MODIFIED

Added by mdellweg over 1 year ago

Revision ebda4eb6

Change queryset filter for ContainerDistribution

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

fixes #8206

Added by mdellweg over 1 year ago

Revision 7d5fde72

Change queryset filter for ContainerDistribution

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

fixes #8206

Added by mdellweg over 1 year ago

Revision 7d5fde72

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 over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF