You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I'm working in ISP, and in my nautobot I have several tenants for different departments.
I want each department to only have access to their own equipment.
I was able to do it for devices objects with permission constraint for dcim-device: {"tenant__name": "DEPARTMENT_NAME"}.
But the device-only restriction is not enough for me, as different departments can still edit/delete interfaces from devices of other departments.
I want to setup such constraint: "If interface belongs to device which tenant is DEPARTMENT, you can edit it"
Is there any way to implement this? Maybe something like this: dcim-interface: {"device__tenant__name": "DEPARTMENT_NAME"}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello.
I'm working in ISP, and in my nautobot I have several tenants for different departments.
I want each department to only have access to their own equipment.
I was able to do it for devices objects with permission constraint for dcim-device: {"tenant__name": "DEPARTMENT_NAME"}.
But the device-only restriction is not enough for me, as different departments can still edit/delete interfaces from devices of other departments.
I want to setup such constraint: "If interface belongs to device which tenant is DEPARTMENT, you can edit it"
Is there any way to implement this? Maybe something like this: dcim-interface: {"device__tenant__name": "DEPARTMENT_NAME"}
Beta Was this translation helpful? Give feedback.
All reactions