PowerShell Universal - 5.0.7
Release Notes
Admin Console
Added a Not Authorized page, rather than a blank page, when a user tries to access a page they do not have access to (
Agent
APIs
Apps
Automation
Module
Portal
Platform
Security
Tools
Downloads
Adam Driscoll
PowerShell Expert and Developer at Devolutions
@Adam Driscoll I just upgraded my production environment to 5.0.7 since it seems to fix all of the issues I had run into with the previous builds of 5.0, and I just noticed that the Discover Environments button is disabled now (it wasn’t in 5.0.6 or below). Is this by design (like it wasn’t working properly)?
Do you have git enabled? It should be disabled if you aren’t in edit mode or are in one-way git sync.
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Yes. It’s in Two-Way and Automatic, but that’s how it was in 5.0.6 and below, and it was enabled. My Git settings are defined in appsettings.json, though, not in PSU directly, so maybe that’s got something to do with it?
for me i dont use git and discover env was disabled for me in 5.0.6 but now its enabled and working as expected in 5.0.7
So, something seems to have changed in 5.0.7 related to the way the buttons work.
Let me take a look. It should be enabled in two way automatic.
Adam Driscoll
PowerShell Expert and Developer at Devolutions
For the record, here is what my Git settings look like in appsettings.json:
"Data": {
"RepositoryPath": "%ProgramData%\\UniversalAutomation\\Repository",
"ConnectionString": "Data Source=%ProgramData%\\UniversalAutomation\\database.db",
"GitRemote": "<redacted>",
"GitUserName": "<redacted>",
"GitPassword": "<redacted",
"GitBranch": "main",
"ConfigurationScript": "",
"GitSyncBehavior": "TwoWay",
"Mode": "automatic"
},This will be resolved in the next build. I could only reproduce this with two way automatic.
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Nice. So it only affects my exact setup. Lucky me.
Glad you were able to reproduce it and get it fixed for the next update.