1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #1299: Corrected permission to add a service to a device

This commit is contained in:
Jeremy Stretch
2017-06-28 12:05:26 -04:00
parent 3f82be7192
commit 97b67d0f93

View File

@ -204,7 +204,7 @@
None
</div>
{% endif %}
{% if perms.dcim.add_service %}
{% if perms.ipam.add_service %}
<div class="panel-footer text-right">
<a href="{% url 'dcim:service_assign' device=device.pk %}" class="btn btn-xs btn-primary">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Assign service