Opened 19 months ago

Closed 19 months ago

Last modified 19 months 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 Changed 19 months ago by Tim Graham

Component: Uncategorizedcontrib.admin
Triage Stage: UnreviewedAccepted

comment:3 Changed 19 months ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 09ee3b6f:

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

comment:4 Changed 19 months ago by Tim Graham <timograham@…>

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