Doc
This commit is contained in:
parent
1744428dd0
commit
57aa05bbce
@ -252,7 +252,7 @@ permissions can be granted to limit access to certain parts of the UI (and corre
|
||||
|
||||
#### Superusers
|
||||
|
||||
Superusers can access all parts of the front and backend application as well as any and all objects.
|
||||
Superusers can access all parts of the front and backend application as well as any and all objects. Superuser status can only be granted by another superuser.
|
||||
|
||||
#### Admin Status
|
||||
|
||||
|
@ -5,6 +5,11 @@ from django.contrib.auth.models import User
|
||||
|
||||
|
||||
class PaperlessUserForm(forms.ModelForm):
|
||||
"""
|
||||
Custom form for the User model that adds validation to prevent non-superusers
|
||||
from changing the superuser status of a user.
|
||||
"""
|
||||
|
||||
class Meta:
|
||||
model = User
|
||||
fields = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user