Replies: 2 comments 3 replies
-
|
The permissions model is not that flexible, but in generaI think it would be a bad idea to allow a device to be edited only by the person who created it: in most organizations people work in teams, and if person A is unavailable then person B should be able to do their job. The closest you can get today is with tags: you could have a tag for each team. But even then, it's hard to enforce that every object created by a user must contain the tag for their own team. |
Beta Was this translation helpful? Give feedback.
-
It's not, and for good reason as @candlerb points out above. I would urge you to seriously reconsider your intended permissions arrangement. NetBox supports custom validation rules that can be used to enforce arbitrary conditions when creating or editing an object, without sacrificing the flexibility afforded by its object-based permissions system. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am exploring netbox to be used for my company network infrastructure. I am looking for a way to let user have read permission by default on the devices, and able to add new device.
How do I make the permissions so that only users who created that device, or is the tenant, or is the contact person can be allowed to change or delete the device?
I thought this permission model should be very common, but I cannot find a way to do that using netbox constraints.
Docs on usertoken mentioned about the
created_byfield, but it seem to only apply to journal entries.Beta Was this translation helpful? Give feedback.
All reactions