소스 검색

Fixed permissions for inclusion of interface bulk edit form

Jeremy Stretch 9 년 전
부모
커밋
5520144ff4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netbox/templates/dcim/device.html

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

@@ -393,7 +393,7 @@
             {% endif %}
         {% endif %}
         {% if interfaces or device.device_type.is_network_device %}
-            {% if perms.dcim.delete_interface %}
+            {% if perms.dcim.change_interface or perms.dcim.delete_interface %}
                 <form method="post">
                 {% csrf_token %}
                 <input type="hidden" name="device" value="{{ device.pk }}" />