Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#2024 closed defect (fixed)

SQL permission error causes Django admin to enter into infinite 302 redirect loop

Reported by: anonymous Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


If you copypaste the statements given by sqlall product into SQL frontend running under different user ID, and the database server is configured in such a way that no select, update, delete and insert permissions are given by default to the user configured for django, attempts to use the admin to modify objects in the table cause an infinite 302 redirect loop.

Change History (2)

comment:1 Changed 13 years ago by Adrian Holovaty

(In [3024]) Fixed bug in admin where it would redirect infinitely if invalid lookup parameters were given in the URL. Refs #2024

comment:2 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

I'm not sure there's anything we can do about your database configuration, but I've fixed the infinite 302 redirect loop.

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