Actions
Issue #9608
closedDeprecation warning in Roles doesn't include enough info
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 111
Quarter:
Description
When running pclean (or a user at upgrade time) on pulp:main
would see this warning:
pulp [None]: pulpcore.deprecation:WARNING: The 'permissions' field in 'creation_hooks' is deprecated and may be removed with pulpcore 3.20. Use the 'parameters' field instead.
This is telling us that we haven't ported the AcessPolicy for ContentGuard, except that it doesn't indicate that it's about ContentGuard. These messages should be improved.
Actions
Adds viewset name to accesspolicy deprecations
The deprecation warning about an offending AccessPolicy now includes the name of the Viewset that has the problem.
closes #9608