Disable UA /admin

Product: PowerShell Universal
Version: 1.5.2 - Official build

Is there any way to disable the /admin panel ? Or maybe just limit it to a certain role ?
thanks!

You can use the HideAdminConsole setting in appsettings.json to hide the console completely. Users that do not fit into one of the builtin roles (Administrators, Operators, Readers, Executors) will not be able to access the console. You can still assign them to cutsom roles.