mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
enable upload only for prod module
This commit is contained in:
@@ -76,6 +76,7 @@
|
||||
</li>
|
||||
|
||||
{# MODULE #}
|
||||
{% if module == "prod" %}
|
||||
{% if user.ACL.has_access_to_module('upload') %}
|
||||
<li>
|
||||
<a href="/prod/upload/" class="dialog full-dialog" title="{% trans 'Upload' %}">
|
||||
@@ -85,6 +86,7 @@
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{# MODULE #}
|
||||
{% if module == "prod" or module == "client" %}
|
||||
|
Reference in New Issue
Block a user