Project

Profile

Help

Issue #9588

closed

RBAC: Groups cannot use creation_hooks

Added by mdellweg about 3 years ago. Updated about 3 years 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 3 years ago

  • Status changed from ASSIGNED to POST
Actions #2

Updated by dkliban@redhat.com about 3 years ago

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

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 110 to Sprint 111

Added by mdellweg about 3 years ago

Revision 98b1f9e9 | View on GitHub

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 3 years ago

  • Status changed from POST to MODIFIED

Added by mdellweg about 3 years ago

Revision 3cddf3ae | View on GitHub

Allow proxy models in GenericForeignKey fields

re #9588

Actions #6

Updated by pulpbot about 3 years ago

  • Sprint/Milestone set to 3.17.0
Actions #7

Updated by pulpbot about 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF