Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#29663 closed Bug (fixed)

POST to admin change view should redirect to changelist view if user has "view" permission

Reported by: Jon Dufresne Owned by: nobody
Component: contrib.admin Version: 2.1
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (4)

comment:2 by Tim Graham, 6 years ago

Component: Uncategorizedcontrib.admin
Triage Stage: UnreviewedAccepted

comment:3 by Tim Graham <timograham@…>, 6 years ago

Resolution: fixed
Status: newclosed

In 09ee3b6f:

Fixed #29663 -- Made admin change view redirect to changelist with view permission.

comment:4 by Tim Graham <timograham@…>, 6 years ago

In 9c93bf09:

[2.1.x] Fixed #29663 -- Made admin change view redirect to changelist with view permission.

Backport of 09ee3b6fe3c4d80bb445835f88148d6f48cde3ff from master

Note: See TracTickets for help on using tickets.
Back to Top