jsocol / jsocol/django-adminplus

Moving to adminplus locks out superuser from editing

Open
#77 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
602
Forks
76
PR merge metrics
No merged PRs in 30d

Description

When I add SimpleAdminConfig in settings.py, and set admin.site to a new AdminSitePlus in urls.py, I get the message "You don’t have permission to view or edit anything." when logged in as a superuser.

If I revert those two edits, switching back to the standard admin, I can see and edit as usual.

Happy to help debug but not sure where to start.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the SimpleAdminConfig change in settings.py and the AdminSitePlus assignment in urls.py, then compare the resulting permission behavior with the standard admin. Trace how AdminSitePlus handles superuser access; done means a superuser can view and edit as before.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
authorization, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.