diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-30 20:36:49 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-30 20:36:49 +0200 |
commit | e8cf20110599c16df4f8a33ee36c3fe282cefa3a (patch) | |
tree | 8d0ca9e022e80c74dcaf4f656e56f01a20d12ec9 /templates/registration/base_client.html | |
parent | block debug actions and confirm for approve doc (diff) | |
download | scout-subs-e8cf20110599c16df4f8a33ee36c3fe282cefa3a.tar.gz scout-subs-e8cf20110599c16df4f8a33ee36c3fe282cefa3a.zip |
perm staff for non primary group
Diffstat (limited to '')
-rw-r--r-- | templates/registration/base_client.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html index b6c3251..b526c84 100644 --- a/templates/registration/base_client.html +++ b/templates/registration/base_client.html @@ -14,7 +14,7 @@ {% block nav %} {% endblock %} <ul class="right"> - {% if user.is_staff %} + {% if user.is_staff or perms.client.staff %} <li><a href="{% url 'server' %}">Pannello Admin</a></li> {% endif %} {% if user.is_authenticated %} |