Just had an app delete progress I had made after I changed the roles to allow another role to access the app. I've seen this bug in previous versions but I thought it was fixed already. Not sure if it matters but git sync is setup one way and was paused at the time. All changes were made through the PSU web interface.
Hello rmcavoy,
Thank you for reaching out to the Devolutions support team.
Could you explain in detail how to reproduce this issue?
I think it's worth the time to investigate further if the code is deleted ;)
Did you receive any error messages when changing the role?
Which role was impacted in this process?
Best regards,
Patrick Ouimet
Should be able to reproduce by changing the permitted roles for the app via the gui (Apps -> Apps Page and using the gear icon to change the app properties).
I already had the built in administrator role assigned to the app and once I had finished building the app to my liking I added a custom role to allow users to start using it. Once I did that (as described above) the app reloaded and changes I had made were no longer showing in the web code editor. When I checked the script file on the PSU host it still contained the missing code. I tried just restarting the app to reload the code but the only thing that seemed to work was restarting PSU entirely.
no error messages or any notification popped up when changing the role, everything seemed normal
Some additional info about our PSU instance:
I also notice that the app doesnt retain the custom role. I constantly have to reapply the role as it keeps reverting back to just administrators