Project

Profile

Help

Issue #9588

closed

RBAC: Groups cannot use creation_hooks

Added by mdellweg about 1 year ago. Updated 12 months ago.

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

Description

As Group is not a pulpcore model, it does not inherit from DjangoLifecycleMixin and AutoAddObjPermsMixin. Therefore, the creation_hooks are not executed.

Possible solution: Create a proxy model that does not add another database table.

Actions #1

Updated by pulpbot about 1 year ago

  • Status changed from ASSIGNED to POST
Actions #2

Updated by dkliban@redhat.com about 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 110
Actions #3

Updated by rchan about 1 year ago

  • Sprint changed from Sprint 110 to Sprint 111

Added by mdellweg about 1 year ago

Revision 98b1f9e9

Proxy Group model to add creation_hooks capability

This creates a proxy model core.Group for auth.Group that is able to use pulpcore's creation_hooks mechanism.

fixes #9588

Actions #4

Updated by mdellweg about 1 year ago

  • Status changed from POST to MODIFIED

Added by mdellweg 12 months ago

Revision 3cddf3ae

Allow proxy models in GenericForeignKey fields

re #9588

Actions #6

Updated by pulpbot 12 months ago

  • Sprint/Milestone set to 3.17.0
Actions #7

Updated by pulpbot 12 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF