Z
Z
zelsky2015-11-04 18:11:17
Django
zelsky, 2015-11-04 18:11:17

Rights for the user is staff?

I want to add a user with rights to add users. But without the right to edit them (the ability to remove the admin). But to add a user, you need the rights to edit them. How to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Lebedev, 2015-11-04
@zymanch

to add, you only need the "add ..."
right the "change ..." right - allows you to view the list and edit data (but not delete)
in this way, if you want the user to only create new users - give him only the right " add...", he won't see the list of users, he won't be able to change or delete anything. You
want the user to be able to change something as well - let's "change..."
in any case, without the right to "delete..." no one can delete anything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question