From fa0c7a76cb2ab461efc12774565a8c3a0fd0abcb Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 1 Jul 2020 15:14:06 -0400 Subject: [PATCH] Fix permission evaluation for add console/power port buttons --- netbox/templates/dcim/device.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index 710288da6..01f125db4 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -358,7 +358,7 @@ Delete {% endif %} - {% if console_ports and perms.dcim.change_consoleport %} + {% if console_ports and perms.dcim.add_consoleport %}
Add console port @@ -398,7 +398,7 @@ Delete {% endif %} - {% if power_ports and perms.dcim.change_powerport %} + {% if power_ports and perms.dcim.add_powerport %}