#29683: View permissions were added by default in Django 2.1 but docs remained
out
of date.
-------------------------------------+-------------------------------------
Reporter: Ariel | Owner: nobody
Pontes |
Type: | Status: new
Cleanup/optimization |
Component: | Version: 2.1
Documentation |
Severity: Normal | Keywords: permissions
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Since Django 2.1, view permissions are added by default. However, parts of
the documentation were not updated. For example:
[https://github.com/django/django/blob/97e637a87fb45c4de970cca6cb783d93473c9d15/django/contrib/auth/models.py#L33
The docstring in the Permissions model] ("Three basic permissions […]")
[https://github.com/django/django/blob/31407fa3b362dc17d61a2a0d7e27b1dfd9d9c143/docs/topics/auth/default.txt#L199
The docs on Default permissions] ("… three default permissions …")
[https://github.com/django/django/blob/e9ea49d2740b6f99b4ecc424c1a9ed87905e481e/docs/topics/auth/customizing.txt#L276
The docs on Custom permissions] (it says the example includes 3 custom
permissions, but in fact only 2 are custom, because the view permission is
now default)
[https://github.com/django/django/blob/35319bf12ccefe1911588493484160aa49208f89/docs/topics/testing/advanced.txt#L252
The docs on the Advanced features of TransactionTestCase] (again, it says
3 permissions are created by default)
--
Ticket URL: <https://code.djangoproject.com/ticket/29683>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.bb167d3c748004e69e6a50b55168302b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.