mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-13 16:47:34 -06:00
Fixed view permissions for ObjectChange
This commit is contained in:
parent
76ff329c6a
commit
16f74f7b03
@ -38,7 +38,7 @@ class ObjectChangeLogView(ConditionalLoginRequiredMixin, View):
|
||||
base_template = None
|
||||
tab = ViewTab(
|
||||
label=_('Changelog'),
|
||||
permission='extras.view_objectchange',
|
||||
permission='core.view_objectchange',
|
||||
weight=10000
|
||||
)
|
||||
|
||||
|
@ -61,7 +61,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if perms.extras.view_objectchange %}
|
||||
{% if perms.core.view_objectchange %}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
|
@ -71,7 +71,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if perms.extras.view_objectchange %}
|
||||
{% if perms.core.view_objectchange %}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
|
Loading…
Reference in New Issue
Block a user