mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #17905 -- Restricted access to model pages in admindocs.
Only users with view or change model permissions can access. Thank you to Sarah Boyce for the review.
This commit is contained in:
committed by
Sarah Boyce
parent
ef8ae06c2a
commit
c12bc980e5
@@ -47,7 +47,9 @@ Minor features
|
||||
* Links to components in docstrings now supports custom link text, using the
|
||||
format ``:role:`link text <link>```. See :ref:`documentation helpers
|
||||
<admindocs-helpers>` for more details.
|
||||
|
||||
|
||||
* The :ref:`model pages <admindocs-model-reference>` are now restricted to only
|
||||
allow access to users with the corresponding model view or change permissions.
|
||||
|
||||
:mod:`django.contrib.auth`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user