Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#12462 closed (fixed)

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

Reported by: Florian Apolloner Owned by: Jannis Leidel
Component: contrib.auth Version: master
Severity: Keywords:
Cc: Florian Apolloner 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 Florian Apolloner 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Florian Apolloner

Attachment: 12462.diff added

comment:1 Changed 7 years ago by Jannis Leidel

Needs documentation: unset
Needs tests: unset
Owner: changed from nobody to Jannis Leidel
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

(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 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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