RBAC for Script Running?

Product: PowerShell Universal
Version: 1.4.6

As far as I can tell there is no way to secure running of Automation Scripts with -Roles like endpoints can be. Is this correct? I was not able to find documentation nor GUI elements that imply this is possible.

What is the intended RBAC scheme for script running or are scripts only intended to be run by Administrators?

You can use access controls to lock down particular scripts to particular users.

The general idea is that you assign roles to an access control that defines exactly what you can do with the script (edit, execute, view etc).

You can then assign the access control to scripts directly or via tags. If you use tags, then you can just tag the scripts you wish to apply the access control to.

We don’t have a UI for this yet.

1 Like