Add perms for viewing application log

This commit is contained in:
leigh-mil
2019-05-21 14:13:42 -04:00
parent a65f758894
commit 5e2f00b1c2
3 changed files with 3 additions and 1 deletions

View File

@@ -103,7 +103,7 @@
{% endcall %}
{% endif %}
{% if user_can(permissions.VIEW_APPLICATION) %}
{% if user_can(permissions.VIEW_APPLICATION_ACTIVITY_LOG) %}
{% include "fragments/audit_events_log.html" %}
{{ Pagination(audit_events, url=url_for('applications.settings', application_id=application.id)) }}
{% endif %}