'Changelog' tab not visible for non-admin accounts #10193

Closed
opened 2025-12-29 21:28:03 +01:00 by adam · 3 comments
Owner

Originally created by @peteeckel on GitHub (Sep 5, 2024).

Originally assigned to: @peteeckel on GitHub.

Deployment Type

Self-hosted

NetBox Version

4.1.0

Python Version

3.12

Steps to Reproduce

  1. Create a user with view permission for all object types and log in as that user.
  2. Open an object detail view for an arbitrary object (e.g. an IPAM IP Address).

Expected Behavior

The 'Changelog' tab should be visible.

Observed Behavior

No 'Changelog' tab is shown.

Originally created by @peteeckel on GitHub (Sep 5, 2024). Originally assigned to: @peteeckel on GitHub. ### Deployment Type Self-hosted ### NetBox Version 4.1.0 ### Python Version 3.12 ### Steps to Reproduce 1. Create a user with view permission for all object types and log in as that user. 2. Open an object detail view for an arbitrary object (e.g. an IPAM IP Address). ### Expected Behavior The 'Changelog' tab should be visible. ### Observed Behavior No 'Changelog' tab is shown.
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:28:03 +01:00
adam closed this issue 2025-12-29 21:28:03 +01:00
Author
Owner

@peteeckel commented on GitHub (Sep 5, 2024):

The issue is in the definition of the ObjectChangeLogView class. The permission that is required according to the class is extras.view_objectchange while it should be core.view_objectchange.

I'll provide a PR if accepted.

@peteeckel commented on GitHub (Sep 5, 2024): The issue is in the definition of the `ObjectChangeLogView` class. The permission that is required according to the class is `extras.view_objectchange` while it should be `core.view_objectchange`. I'll provide a PR if accepted.
Author
Owner

@peteeckel commented on GitHub (Sep 5, 2024):

In fact there are multiple instances of the same bug:

(netbox) [root@dns netbox]# git grep 'extras\..*_objectchange'
netbox/netbox/views/generic/feature_views.py:        permission='extras.view_objectchange',
netbox/templates/account/profile.html:  {% if perms.extras.view_objectchange %}
netbox/templates/users/user.html:  {% if perms.extras.view_objectchange %}
@peteeckel commented on GitHub (Sep 5, 2024): In fact there are multiple instances of the same bug: ``` (netbox) [root@dns netbox]# git grep 'extras\..*_objectchange' netbox/netbox/views/generic/feature_views.py: permission='extras.view_objectchange', netbox/templates/account/profile.html: {% if perms.extras.view_objectchange %} netbox/templates/users/user.html: {% if perms.extras.view_objectchange %} ```
Author
Owner

@arthanson commented on GitHub (Sep 5, 2024):

I've assigned to you @peteeckel

@arthanson commented on GitHub (Sep 5, 2024): I've assigned to you @peteeckel
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10193