Permisions for Cusctom Scripts and Reports #9002
Replies: 2 comments
-
I don't see this as a good solution. What if you need to have more than 2 permission groups? Doing permission handling from the script is the best option right now. So something like this:
This will only allow users in the While I think a better option for handling script permissions is a good idea, I don't think your suggested implementation is good enough. |
Beta Was this translation helpful? Give feedback.
-
Well, I think 2 are better than none and having them as a different model, you can actually hide those scripts from view and the source code. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I might not be the only one that would find useful, splitting "extras | script" and "extras | report " into "extras | script" and "extras | script_admin". Same for the reports. This will enable an admin to assign permissions to some scripts/reports and not to all of them.
This probably will involve creating a new paths /opt/netbox/netbox/scripts_admin and /opt/netbox/netbox/reports_admin.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions