admin: Show restricted user role in the UI

This commit is contained in:
Matthew Wild
2021-11-09 16:40:50 +00:00
parent c8356a8e9e
commit 6b35e9a259

View File

@@ -78,9 +78,7 @@ class EditUserForm(BaseForm):
role = wtforms.RadioField(
_l("Access Level"),
choices=[
# NOTE: enable this only after something has been done which
# actually enforces the described restrictions :).
# ("prosody:restricted", _LIMITED_ROLE_NAME),
("prosody:restricted", _LIMITED_ROLE_NAME),
("prosody:normal", _l("Normal user")),
("prosody:admin", _l("Administrator")),
],