Refs #29419, #8936 -- Removed change permission requirement for admin actions.

Partially reverted 825f0beda8.
This commit is contained in:
Carlton Gibson 2018-06-05 15:05:57 +02:00 committed by Tim Graham
parent ae26e0ad2c
commit b30f9b131c
3 changed files with 1 additions and 23 deletions

View file

@ -340,9 +340,6 @@ Conditionally enabling or disabling actions
Finally, you can conditionally enable or disable actions on a per-request
(and hence per-user basis) by overriding :meth:`ModelAdmin.get_actions`.
This doesn't return any actions if the user doesn't have the "change"
permission for the model.
This returns a dictionary of actions allowed. The keys are action names, and
the values are ``(function, name, short_description)`` tuples.