Permissions to run custom scripts #19660
Unanswered
llamafilm
asked this question in
Help Wanted!
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to allow users to run some "safe" custom scripts, but restrict access to other scripts. I got this to work but it seems very complicated and I'm wondering if there's a better way. Currently, I have 2 separate permissions, but I'd like to consolidate this to one:
Action: View
Objects: Core | managed file
Constraints: [{"data_path": "scripts/add_device.py"}, {"data_path": "scripts/connect_power.py"}]
Action: View & run
Objects: Extras | script
Constraints: [{"name": "AddDevice"}, {"name": "ConnectPower"}]
Beta Was this translation helpful? Give feedback.
All reactions