Opened 9 years ago

Closed 9 years ago

Last modified 8 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
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: UI/UX:

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 Changed 9 years ago by adrian

(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 9 years ago by adrian

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

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