D
D
DaniilGri2016-12-31 19:16:09
Django
DaniilGri, 2016-12-31 19:16:09

What is the difference between groups with rights and boolean user fields?

Such a question: django has the ability to add boolean properties like is_staff, is_superuser. It also has the ability to add rights for each individual user, for example, to allow deletion or editing, and there are also groups where you can record a user with rights. And what is the difference between is_stuff, is_superuser and those other rights that can be written to a group of users?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey K, 2016-01-01
@DaniilGri

is_superuser - имеет права на создание/редактирование/удаление всех объектов, is_staff - имеет только явно выданные права.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question