Compare commits

...

1 Commits

Author SHA1 Message Date
Jeremy Stretch
233969f31f Fixes #21579: Display 'add script' button only if user has sufficient permission 2026-03-10 09:24:13 -04:00

View File

@@ -15,7 +15,9 @@
{% endblock tabs %}
{% block controls %}
{% add_button model %}
{% if perms.extras.add_scriptmodule %}
{% add_button model %}
{% endif %}
{% endblock controls %}
{% block content %}