Skip to content

Commit

Permalink
Fixed permission for config context UI view (#13547)
Browse files Browse the repository at this point in the history
* fixed permission for config context UI view #13543

* removed extras.view_configcontext permission #13543
  • Loading branch information
abhi1693 authored Aug 24, 2023
1 parent 1f1d1ee commit 3090dd4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion netbox/dcim/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2055,7 +2055,6 @@ class DeviceConfigContextView(ObjectConfigContextView):
base_template = 'dcim/device/base.html'
tab = ViewTab(
label=_('Config Context'),
permission='extras.view_configcontext',
weight=2000
)

Expand Down
1 change: 0 additions & 1 deletion netbox/virtualization/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ class VirtualMachineConfigContextView(ObjectConfigContextView):
base_template = 'virtualization/virtualmachine.html'
tab = ViewTab(
label=_('Config Context'),
permission='extras.view_configcontext',
weight=2000
)

Expand Down

0 comments on commit 3090dd4

Please sign in to comment.