MarianC
MarianC

Reputation: 113

How to give user permission on django admin site

I'm trying to give a user limited access to the admin site.

I logged in as a superuser, and gave the user staff status and the permissions over a model: "can add", "can change" and "can delete".

Chosen user permissions dialog

The problem is the user can log in to the site, but sees this message:

"You don't have permission to edit anything."

If I give him superuser status he can edit anything, but I want to give him limited access. Is there another option I must check before he can receive rights? I'm using Django 1.6.1.

Upvotes: 3

Views: 4432

Answers (2)

MarianC
MarianC

Reputation: 113

I found the problem.

The permissions I was giving the user, were on a model that was not registered to the admin. I was not aware that the permissions will be available even though the model is not registered.

Thank you for your tips.

Upvotes: 3

JakePearse
JakePearse

Reputation: 23

There are a couple of simple things you could check;

user is active? the permissions you want to grant are 'chosen' i.e they appear in the right-hand 'chosen' column?

enter image description here

Upvotes: 0

Related Questions