Browse Source

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

Jeremy Stretch 7 years ago
parent
commit
97b67d0f93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/templates/dcim/device.html

+ 1 - 1
netbox/templates/dcim/device.html

@@ -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