Remove Authorization.can_view_audit_log as well

This commit is contained in:
richard-dds
2018-10-05 15:30:41 -04:00
parent fcc1caca1c
commit ac2ecf5f64
3 changed files with 1038 additions and 1 deletions

View File

@@ -26,7 +26,7 @@
{{ SidenavItem("Workspaces", href="/workspaces", icon="cloud", active=g.matchesPath('/workspaces')) }}
{% endif %}
{% if g.Authorization.can_view_audit_log(g.current_user) %}
{% if g.Authorization.has_atat_permission(g.current_user, g.Permissions.VIEW_AUDIT_LOG) %}
{{ SidenavItem("Activity History", url_for('atst.activity_history'), icon="time", active=g.matchesPath('/activity-history')) }}
{% endif %}
</ul>