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

Fixes #10208: Fix permissions evaluation for interface actions dropdown menu

This commit is contained in:
jeremystretch
2022-08-30 08:59:50 -04:00
parent 0f6a12b595
commit cd5844b050
2 changed files with 2 additions and 1 deletions

View File

@ -226,7 +226,7 @@ POWEROUTLET_BUTTONS = """
"""
INTERFACE_BUTTONS = """
{% if perms.dcim.edit_interface %}
{% if perms.dcim.change_interface %}
<span class="dropdown">
<button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="Add">
<span class="mdi mdi-plus-thick" aria-hidden="true"></span>