adlius45
adlius45

Reputation: 39

Create separate Django Admin sites and separate permissions

In Django, i have extend the AdminSite class into a UserAdminSite class. But there is a problem: Any Admin who has access to the UserAdminSite would also have a "is_staff = True" status and could therefore access the default admin site for the entire website. How do I separate the access permission for these two admin sites?

Upvotes: 1

Views: 258

Answers (1)

Dex
Dex

Reputation: 337

Under Site Administration: Add a new "Group"; then select which permissions you want to give any user assigned to that group.

After creating the new group, then assign the user to that group.

Upvotes: 1

Related Questions