Prevent PSU from pushing GIT changes

Is it possible to set it so PSU can’t make code changes through the UI? That way all our code changes would have to go through our GIT PR process.

Product: PowerShell Universal
Version: 1.4.6

Also, If we were to turn off the ability to push directly to Master in our GIT repo, will that cause issues/errors in PSU?

Not at the moment. We need to improve the GIT experience. We have some open issues for setting the branch and setting the web server to readonly to prevent pushes to GIT. We’ll be working them into one of the upcoming releases.

I realize this isn’t a great solution but it is possible to do the git syncronization yourself with the git command line tool and scheduled jobs if you want some more control. You can then use RBAC to set the console to execute only to prevent changes.

1 Like

I’m doing something along these lines, and have been working on a fairly robust internal Version Controlled General Task Scheduler sort of platform built on/around Universal. It can be done without too much trouble. I’ll take a look and see if I have any generalized stuff I can share.

1 Like