Fixes #3342: Fix cluster delete button permissions reference

This commit is contained in:
Jeremy Stretch 2019-07-16 10:07:38 -04:00
parent 3da9af5a9f
commit 154b9e1faf

View File

@ -33,7 +33,7 @@
Edit this cluster
</a>
{% endif %}
{% if perms.dcim.delete_cluster %}
{% if perms.virtualization.delete_cluster %}
<a href="{% url 'virtualization:cluster_delete' pk=cluster.pk %}" class="btn btn-danger">
<span class="fa fa-trash" aria-hidden="true"></span>
Delete this cluster