mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.7.x] Refs #23559 -- warned about consequences of letting users edit User model in admin.
Backport of f6b09a7f85 from master
This commit is contained in:
committed by
Tim Graham
parent
639583ed1d
commit
96bbade674
@@ -1402,6 +1402,11 @@ have the power to create superusers, which can then, in turn, change other
|
|||||||
users. So Django requires add *and* change permissions as a slight security
|
users. So Django requires add *and* change permissions as a slight security
|
||||||
measure.
|
measure.
|
||||||
|
|
||||||
|
Be thoughtful about how you allow users to manage permissions. If you give a
|
||||||
|
non-superuser the ability to edit users, this is ultimately the same as giving
|
||||||
|
them superuser status because they will be able to elevate permissions of
|
||||||
|
users including themselves!
|
||||||
|
|
||||||
Changing Passwords
|
Changing Passwords
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user