Add has_module_permission to ModelAdmin
I think it's a bit odd that ModelAdmin
has permission hooks for add, change and delete but not for the module. Is there a special reasoning behind this? I can't come up with a use case.
This patch will fix that.
Regards,
Christian
Change History
(12)
Triage Stage: |
Unreviewed → Design decision needed
|
Needs documentation: |
set
|
Needs tests: |
set
|
Severity: |
→ Normal
|
Type: |
→ New feature
|
Patch needs improvement: |
set
|
Easy pickings: |
unset
|
Keywords: |
newforms-admin removed
|
Triage Stage: |
Design decision needed → Accepted
|
UI/UX: |
unset
|
Version: |
newforms-admin → SVN
|
Owner: |
changed from nobody to Maxime Turcotte
|
Status: |
new → assigned
|
Owner: |
Maxime Turcotte removed
|
Status: |
assigned → new
|
Owner: |
set to Maxime Turcotte
|
Status: |
new → assigned
|
Needs documentation: |
unset
|
Needs tests: |
unset
|
Patch needs improvement: |
unset
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Also note that the admin's code has changed greatly since 3 years ago, so the patch needs to be updated.