Opened 15 years ago

Closed 15 years ago

Last modified 13 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: dev
Severity: Keywords:
Cc: Florian Apolloner Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 15 years ago.

Download all attachments as: .zip

Change History (4)

by Florian Apolloner, 15 years ago

Attachment: 12462.diff added

comment:1 by Jannis Leidel, 15 years ago

Owner: changed from nobody to Jannis Leidel
Triage Stage: UnreviewedAccepted

comment:2 by Jannis Leidel, 15 years ago

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 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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