Skip to content

Commit

Permalink
Add permission checker for item in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik committed Sep 11, 2024
1 parent e428706 commit 96b1730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@
{% trans "Notifications" %}
</a>
</li>
{% if system_settings.enable_webhooks_notifications %}
{% if system_settings.enable_webhooks_notifications and "dojo.view_notification_webhooks"|has_configuration_permission:request %}
<li>
<a href="{% url 'notification_webhooks' %}">
{% trans "Notification Webhooks" %}
Expand Down

0 comments on commit 96b1730

Please sign in to comment.