* Fixes #21579: Display 'add script' button only if user has sufficient permission * Check for core.add_managedfile permission too
This commit is contained in:
parent
da79cc775d
commit
9b57512b12
|
|
@ -15,7 +15,9 @@
|
|||
{% endblock tabs %}
|
||||
|
||||
{% block controls %}
|
||||
{% add_button model %}
|
||||
{% if perms.core.add_managedfile and perms.extras.add_scriptmodule %}
|
||||
{% add_button model %}
|
||||
{% endif %}
|
||||
{% endblock controls %}
|
||||
|
||||
{% block content %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue