Multiple Roles for RBAC for Dashboards

Product: PowerShell Universal
Version: 1.5.10

Wondering if there is a way to assign multiple roles to a dashboard for access:

currently:
$Pages += New-UDPage -Name ‘Test’ -Content {
New-UDTypography -Text “This is what displays”
} -NavigationLayout permanent -Role ‘PageAccess’

Wondering about the following (which doesn’t seem to work, but i’m wondering if it’s possible or needs to be addressed differently):
$Pages += New-UDPage -Name ‘Test’ -Content {
New-UDTypography -Text “This is what displays”
} -NavigationLayout permanent -Role ‘PageAccess’,‘Administrator’,‘AdditionalRole’

We just added support for multiple roles on a dashboard level:

New-PSUDashboard -Name xyz -Role @("Admin", "PageAccess") 

But we have not implemented it on a page level. I will open an issue for this and get it added in our next version.

1 Like

Thanks as always Adam… much appreciated