Code

Opened 6 years ago

Closed 6 years ago

#6819 closed (fixed)

[newforms-admin] Delete view raises 403 after deletion by user with only delete permission

Reported by: rmyers Owned by: rmyers
Component: contrib.admin Version: newforms-admin
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

If you attempt to delete an object of a type where you only have delete permissions for you are redirected to the change list view, which raises a 403.

Attachments (1)

6819.patch (830 bytes) - added by rmyers 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by rmyers

comment:1 Changed 6 years ago by Alex

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by brosner

  • Resolution set to fixed
  • Status changed from new to closed

(In [7588]) newforms-admin: Fixed #6819 -- When the user does not have change permission avoid redirecting to the changelist view after deleting an object. Thanks rmyers!

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.