Actions
Issue #9588
closedRBAC: Groups cannot use creation_hooks
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
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