-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.1.6
Python version
3.9
Steps to Reproduce
- Create/Have a User
- Do not grant the User SuperUser-Permissions via according flag in Admin-Backend
- Grant the User permissions on everything (just for this test)
- Log in as the User
5.1 Try to access/extras/changelog/
5.2 Try to access/api/extras/content-types/
Expected Behavior
5.1 should show changes without errors, as the User has Permissions on Extras > object change
5.2 should return all Content-Types, a User can use (used e.g. by the Frontend to provide Filters on Changelog)
Observed Behavior
5.1 raises an error, that content-types cannot be fetched. Object-Changes are visible, but Content-Type-Filtering is not possible
5.2 raises an HTTP 403
The only workaround is, to grant the User SuperUser-Permissions via Flag in Admin-Backend.
Obviously this workaround should not be used.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application