Powershell Universal version 2026.3.0
I was looking through the documentation around leveraging permissions and scoping access. I can see in the UI the limitation is that I can only scope at a very large area but not granular scoping. I am curious if it is possible to scope a role to a specific app where that role has full control or Edit of a singular app but none of the others? Would using the New-PSURole actually allow this or is this sort of granular permissioning not supported?
I have a role in the GUI but read or Edit is over all apps it appears.I noticed on the examples here https://docs.devolutions.net/powershell-universal/security/enterprise-security/permissions though that the usage of a * is used in the command but does that mean i can specifiy a level lower?
Example:
New-PSURole -Name 'Script Folder Team' -Permission @( 'apps.read./Specific app')
Would something like that work or is the syntax is wrong but with proper syntax it would?
Recommended Answer
Hello there,
Thank you for reaching out!
In PowerShell Universal 2026.3.0 a role cannot be limited to a single app. The app permissions (Read, Create, Update, Delete and Execute) are checked against the apps area as a whole, so a role that can read or edit one app can read or edit all of them. That is the limit you are seeing in the admin console.
New-PSURole does not get around it. It sets the same role permissions as the Roles page, so it ends up with the same result as the console.
The asterisk in the documentation examples means all access types, or everything below a scope. The narrower scope shown on that page, the folder permission, exists only for scripts. Apps have no level below apps.
So your example 'apps.read./Specific app' would not give access to that app. For any app, the server checks apps/read, or apps/update for an edit, with no app name in it, so a permission that names one app has nothing to match.
What you can limit per app is who can open and use it. With app authentication enabled, the -Role parameter of New-PSUApp restricts the app to the roles you list, and other users get a Not Authorized page. This controls who uses the app, not who can edit it in the admin console.
These two pages cover it:
https://docs.devolutions.net/powershell-universal/security/enterprise-security/permissions
https://docs.devolutions.net/powershell-universal/apps/role-based-access
If per-app edit permissions would help your team, let me know and I will pass it to our development team as a feature request.
Best regards,
Alexis Beauparlant
Hello there,
Thank you for reaching out!
In PowerShell Universal 2026.3.0 a role cannot be limited to a single app. The app permissions (Read, Create, Update, Delete and Execute) are checked against the apps area as a whole, so a role that can read or edit one app can read or edit all of them. That is the limit you are seeing in the admin console.
New-PSURole does not get around it. It sets the same role permissions as the Roles page, so it ends up with the same result as the console.
The asterisk in the documentation examples means all access types, or everything below a scope. The narrower scope shown on that page, the folder permission, exists only for scripts. Apps have no level below apps.
So your example 'apps.read./Specific app' would not give access to that app. For any app, the server checks apps/read, or apps/update for an edit, with no app name in it, so a permission that names one app has nothing to match.
What you can limit per app is who can open and use it. With app authentication enabled, the -Role parameter of New-PSUApp restricts the app to the roles you list, and other users get a Not Authorized page. This controls who uses the app, not who can edit it in the admin console.
These two pages cover it:
https://docs.devolutions.net/powershell-universal/security/enterprise-security/permissions
https://docs.devolutions.net/powershell-universal/apps/role-based-access
If per-app edit permissions would help your team, let me know and I will pass it to our development team as a feature request.
Best regards,
Alexis Beauparlant
Thank you, yes we were following that and just had that note of clarification for those settings. Thank you so much and from an decentralized IT organization. Having that ability in places like the Scripts and Apps to assign granular controls down to specific folders and App would make it more Enterprise friendly. Can we get it added as a feature request?
Hi,
Thank you for the feedback and for the context.
I posted your request on the PSU forum. I cannot say if or when it will be built, but you can upvote and follow it here: https://forum.devolutions.net/topics/57609/granular-role-permissions-for-a-specific-app-or-folder
We use the interest on the forum to prioritize the features we implement.
Best regards,
Alexis Beauparlant
Thank you.
Hello,
You're welcome!
Please don't hesitate to create a new thread if you need any further assistance.
Best regards,
Alexis Beauparlant