script-server
                                
                                 script-server copied to clipboard
                                
                                    script-server copied to clipboard
                            
                            
                            
                        Hide some options for non-admin users
Hi, first of all thanks for all the hard work, I recently came across this tool and I'm allready in love with it :)
I do have a question but couldn't see a clear way of doing what i wanted. I have a script that can be accessed by all users, and some options have a default value set. some of these options I want to hide from 'normal' users ( and thus use the default value setting) But an admin should be able to see all the options and be able to change them.
I could copy the script a second time, one time for admins with all options, a second time for normal users with some options set to "Constant". But that would mean we have to maintain 2 versions of the same script.
Is there any way around this?
regards, Kenny
Hi @Kenny-JTK, unfortunately, this is not possible :( For managing 2 versions of the same script, you could use "included" option, so that you can have the main part of the configuration only once