You've already forked snikket-web-portal
Follow new role scheme in Prosody
Prosody changed its role scheme to only support a single primary role for each user. In addition, the names of the built-in roles have been changed. We thus follow those changes to be compatible with the most recent trunk. One open question is whether we should switch admin -> operator here, too (operator being a server-wide admin), but so far there's no need to.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{% macro access_level_description(role, caller=None) %}
|
||||
{%- if role == "prosody:restricted" -%}
|
||||
{% trans %}Limited users can interact with users on the same Snikket service and be members of circles.{% endtrans %}
|
||||
{%- elif role == "prosody:normal" -%}
|
||||
{%- elif role == "prosody:user" -%}
|
||||
{% trans %}Like limited users and can also interact with users on other Snikket services.{% endtrans %}
|
||||
{%- elif role == "prosody:admin" -%}
|
||||
{% trans %}Like normal users and can access the admin panel in the web portal.{% endtrans %}
|
||||
|
||||
Reference in New Issue
Block a user