Skip to content

Inventory Items not visible on Device Types for non superusers #15232

Closed
@rkiss

Description

@rkiss

Deployment Type

Self-hosted

NetBox Version

v3.7.2

Python Version

3.8

Steps to Reproduce

Create a user that is not a superuser.
Create a Device Type and create an Inventory Item Template inside.

Expected Behavior

After saving the Inventory Item the Inventory tab is not visible when browsing with the non-superuser account but is visible with superuser account.

Observed Behavior

I noticed a misspelling in https://github.com/netbox-community/netbox/blob/develop/netbox/dcim/views.py#L1082
Permission is set to dcim.view_invenotryitemtemplate instead of dcim.view_inventoryitemtemplate

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions