FIX: Don't show asset buttons/history for basic users

This commit is contained in:
2020-05-25 13:36:42 +01:00
parent f06dc56b40
commit 18fde7c16a
2 changed files with 6 additions and 4 deletions

View File

@@ -29,10 +29,12 @@
{% include 'partials/audit_details.html' %}
</div>
</div>
{% if perms.RIGS.view_asset %}
<div class="row justify-content-end">
{% include 'partials/asset_buttons.html' %}
</div>
<div class="row justify-content-end">
{% include 'partials/last_edited.html' with target="asset_history" id=object.asset_id %}
</div>
{% endif %}
{% endblock %}