[Django] #29663: POST to admin change view should redirect to changelist view if user has "view" permission

5 views
Skip to first unread message

Django

unread,
Aug 12, 2018, 1:14:26 PM8/12/18
to django-...@googlegroups.com
#29663: POST to admin change view should redirect to changelist view if user has
"view" permission
-----------------------------------------+------------------------
Reporter: Jon Dufresne | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 2.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
When a user has the "view" permission they are still allowed to POST to an
admin change view (see #29660). Upon a success they should be redirected
to the changelist page as they have permission to ''view'' the list of
objects. However, current behavior erroneously redirects to the admin
index page.

--
Ticket URL: <https://code.djangoproject.com/ticket/29663>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 12, 2018, 1:18:08 PM8/12/18
to django-...@googlegroups.com
#29663: POST to admin change view should redirect to changelist view if user has
"view" permission
-------------------------------+--------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 2.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Jon Dufresne):

* has_patch: 0 => 1


Comment:

https://github.com/django/django/pull/10291

--
Ticket URL: <https://code.djangoproject.com/ticket/29663#comment:1>

Django

unread,
Aug 13, 2018, 2:50:22 PM8/13/18
to django-...@googlegroups.com
#29663: POST to admin change view should redirect to changelist view if user has
"view" permission
-------------------------------+------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 2.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Tim Graham):

* component: Uncategorized => contrib.admin
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/29663#comment:2>

Django

unread,
Aug 17, 2018, 11:34:49 AM8/17/18
to django-...@googlegroups.com
#29663: POST to admin change view should redirect to changelist view if user has
"view" permission
-------------------------------+------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 2.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"09ee3b6fe3c4d80bb445835f88148d6f48cde3ff" 09ee3b6f]:
{{{
#!CommitTicketReference repository=""
revision="09ee3b6fe3c4d80bb445835f88148d6f48cde3ff"
Fixed #29663 -- Made admin change view redirect to changelist with view
permission.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29663#comment:3>

Django

unread,
Aug 17, 2018, 11:37:29 AM8/17/18
to django-...@googlegroups.com
#29663: POST to admin change view should redirect to changelist view if user has
"view" permission
-------------------------------+------------------------------------

Reporter: Jon Dufresne | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 2.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"9c93bf0903a26a7abee8eb25e1e70e77688f88b0" 9c93bf09]:
{{{
#!CommitTicketReference repository=""
revision="9c93bf0903a26a7abee8eb25e1e70e77688f88b0"
[2.1.x] Fixed #29663 -- Made admin change view redirect to changelist with
view permission.

Backport of 09ee3b6fe3c4d80bb445835f88148d6f48cde3ff from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29663#comment:4>

Reply all
Reply to author
Forward
0 new messages