Comments (7)
Hi @TheSteveBennett, if you want admin users to be able to see (and execute) the script, you have to give them access explicitly. You can use @admin_users
group, to give an access to all admins at once
from script-server.
Do I have to edit the JSON file for the script or can I do that from the admin panel. If I can do that from the admin panel then what would prevent me from doing so?
from script-server.
You can edit it from the admin panel.
Of course, usually admins have extended access to scripts/server and can execute anything. In this case access
settings is only to prevent unintended invocation of a script by an admin. E.g. if by a company policy, a script should be only executed by a Financial department. Then for admins, it will be obvious, that they shouldn't do it, since there is no access.
At least, that was my way of thinking about it, when I implemented this restriction :)
from script-server.
from script-server.
When I use the @admin_users and hit save, nothing happens
Could you try pressing "Enter" before pressing Save?
when I edit the json file directly the script disappears from the menu until I remove my changes
Please check logs/server.log file. Most probably there is missing comma in json file or smth similar
from script-server.
Brillant! That did it. Thank you.
When I use the @admin_users and hit save, nothing happens
Could you try pressing "Enter" before pressing Save?
when I edit the json file directly the script disappears from the menu until I remove my changes
Please check logs/server.log file. Most probably there is missing comma in json file or smth similar
from script-server.
I'm glad it worked :)
from script-server.
Related Issues (20)
- no demo scripts in sample folder HOT 2
- Feature Request: Add a "Select All" to the parameter type "multiselect" above 1st entry of list HOT 1
- Webinterface is quite cpu consuming HOT 4
- Autostart Scripts after script-server start? HOT 8
- New folder as group support only real folder not link HOT 1
- Build multiarch Docker image HOT 3
- add option for default in list to take first item whatever it is HOT 4
- Crash: 'NoneType' object has no attribute 'translate' when required parameters fields are missing HOT 1
- included configs allow yaml HOT 7
- nested includes HOT 5
- show ScriptServer version in UI context or config.json HOT 2
- Feature request: support target="_blank" for links in terminal output HOT 2
- Executing an ansible playbook with user + password requires the parameter "same_arg_param" HOT 2
- regex for allowed_users? HOT 1
- Need help with nginx config HOT 5
- How can i block the user input when running a script? HOT 2
- Error trying to use 'requires_terminal' when running as a systemd daemon HOT 3
- Hide some options for non-admin users HOT 1
- How do you use this to run docker commands? HOT 7
- Feature request: support clean shutdown also on SIGTERM HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from script-server.