/bundles/itninjaweb/img/Breadcrumb_cap_w.png

How do I restrict the execution of a given script to a given label?
2 Comments   [ - ] Hide Comments

Comments

  • Can you revise your question text to make it clearer that you mean restricting to users and not devices?
  • yes, of course
Please log in to comment

Answer this question or Comment on this question for clarity

Answers

0
Have you tried setting it up with a smart label? You would just include the label you want to restrict that script to that smart label. And add the smart label to the script.

Make sure the script would have a schedule too, or it will not deploy via smart label.


Answered 05/18/2018 by: feeldamped
Senior White Belt

  • My idea is to restrict access to scripts.

    Example: I have a team of IT Analysts who can not execute script 01. But I can not make the restriction.
Please log in to comment
0
You can restrict access for specific scripts to specific users in Service Desk > User Downloads. I think this only works through the the "User Portal" interface and not the admin interface, but I'm not sure. That is, technicians can kick off scripts from the User Portal when they are on the targeted computer and not using the "Run Now" function, but I would have to test that.
Answered 05/29/2018 by: JasonEgg
Red Belt

  • Yes, the problem would be for certain users to use certain scripts with Run Now
    • AFAIK this can't be done. You can restrict users to only be able to run any script on certain computers, but not restrict users to run only certain scripts (expect with the "User Portal" method I mentioned above).
      Here are two feature request pages that you might want to check out:

      https://kace.uservoice.com/forums/82699-sma-k1000/suggestions/6878819-granular-access-control-in-regards-to-which-script

      https://kace.uservoice.com/forums/82699-sma-k1000/suggestions/33982258-restrict-execution-of-scripts-in-run-now-to-only
Please log in to comment