Opened 18 years ago

Closed 18 years ago

Last modified 18 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

Description

If you copypaste the statements given by django-admin.py 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 by Adrian Holovaty, 18 years ago

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

comment:2 by Adrian Holovaty, 18 years ago

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