mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 01:48:38 -06:00
Fixed permission for config context UI view (#13547)
* fixed permission for config context UI view #13543 * removed extras.view_configcontext permission #13543
This commit is contained in:
parent
1f1d1ee502
commit
3090dd4934
@ -2055,7 +2055,6 @@ class DeviceConfigContextView(ObjectConfigContextView):
|
|||||||
base_template = 'dcim/device/base.html'
|
base_template = 'dcim/device/base.html'
|
||||||
tab = ViewTab(
|
tab = ViewTab(
|
||||||
label=_('Config Context'),
|
label=_('Config Context'),
|
||||||
permission='extras.view_configcontext',
|
|
||||||
weight=2000
|
weight=2000
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -384,7 +384,6 @@ class VirtualMachineConfigContextView(ObjectConfigContextView):
|
|||||||
base_template = 'virtualization/virtualmachine.html'
|
base_template = 'virtualization/virtualmachine.html'
|
||||||
tab = ViewTab(
|
tab = ViewTab(
|
||||||
label=_('Config Context'),
|
label=_('Config Context'),
|
||||||
permission='extras.view_configcontext',
|
|
||||||
weight=2000
|
weight=2000
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user