Permissions to modify only specific field on specific objet. #15448
Unanswered
dannymongrain1
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
No, there are no field-level permissions, and Custom Validators don't get access to the before+after attributes or the identity of the user making the change. If you want to do this in the Netbox UI, I think you need make the object read-only, and then write a Custom Script which lets the user update the field of interest. Your script will then do its own validation as to whether the user is allowed to update this field or not. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I need help to setup limitations to a specific permission. I need to grant a 'modify' Action on a specific Object Type but I don't want all field to be modifiable, only a specific one.
Example. on object-type 'ipam | IP address', i need Actions 'Modify' but the only field that can be modify is 'description'. I don't want the user which match this permission to modify the role, the vrf, the status, etc.
Is that possible?
Beta Was this translation helpful? Give feedback.
All reactions