Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#12462 closed (fixed)

backends which don't support row level perms should return false or []…

Reported by: apollo13 Owned by: jezdez
Component: contrib.auth Version: master
Severity: Keywords:
Cc: apollo13 Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

backends which don't support row level perms should return false or [] instead of performing the check without providing an object at all. The patch for r11807 did include it, but the patch got simplifed and included an edgecase…

I will attach a patch as soon as I know the ticket number :þ

Attachments (1)

12462.diff (3.6 KB) - added by apollo13 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by apollo13

comment:1 Changed 4 years ago by jezdez

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to jezdez
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by jezdez

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

(In [12032]) Fixed #12462 - Fixed edge case with auth backends that don't support object permissions. Thanks to Florian Apolloner for catching it.

comment:3 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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.