-
Hi, I've experienced problems hitting the import page for Device Types since NetBox upgrade (I don't think I've tried since 3.3, maybe even earlier). What works:
What doesn't work: I've tested that disabling 'dcim.add_devicetype' permissions group makes the import and create buttons in the UI go away, and re-enabling makes both them come back. I imagine this is some problem local to me since I haven't seen any other complaints about similar behavior (or I've failed searching.) Any help is greatly appreciated Current Netbox version: v3.3.1 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
In the source code:
It looks like you need all those permissions to import a device type. |
Beta Was this translation helpful? Give feedback.
-
Yeah, checking the permissions after version upgrades is tedious but I don't see any other way to handle it, the local Netbox admin should always be in the loop for permissions decisions, I don't think the Netbox database migrations should try and figure out what roles and groups your deployment may have created and then guess about which permissions should be added to what groups, that seems like the road to unforeseen consequences.
—
Mark Tinberg ***@***.***>
Division of Information Technology-Network Services
University of Wisconsin-Madison
…________________________________
From: Tomoc ***@***.***>
Sent: Wednesday, October 12, 2022 3:51 PM
To: netbox-community/netbox ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [netbox-community/netbox] Access Denied Importing DeviceType (Discussion #10632)
Oh great, I hadn't found the right spot to look for permissions reqs.
I've noticed that when updating NetBox and new permissions are introduced
they haven't always been added to the NetBox database. Chasing permissions
that should exist but don't has been a tedious exercise a few times now
(hopefully a thing of the past?)
Thank you very much, I'll report back in a couple hours when I've verified
this is the fix.
—
Reply to this email directly, view it on GitHub<#10632 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAS7UMY4LWBXM7XGCUB5VV3WC4QGLANCNFSM6AAAAAARDOKNCE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
In the source code:
It looks like you need all those permissions to import a device type.