Fix permission check for adding software product installations (#71)
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<div class="card">
|
<div class="card">
|
||||||
<h2 class="card-header">
|
<h2 class="card-header">
|
||||||
Installations
|
Installations
|
||||||
{% if perms.netbox_slm.add_installation %}
|
{% if perms.netbox_slm.add_softwareproductinstallation %}
|
||||||
<div class="card-actions">
|
<div class="card-actions">
|
||||||
<a href="{% url 'plugins:netbox_slm:softwareproductinstallation_add' %}?{{ search_obj }}={{ object.pk }}" class="btn btn-ghost-primary btn-sm">
|
<a href="{% url 'plugins:netbox_slm:softwareproductinstallation_add' %}?{{ search_obj }}={{ object.pk }}" class="btn btn-ghost-primary btn-sm">
|
||||||
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> Add an installation
|
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> Add an installation
|
||||||
|
|||||||
Reference in New Issue
Block a user