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’
@adam was this ever addressed? I am looking into a better way to handle RBA down to the page level where it’s a bit easier to manage.
Currently, I’m doing something like this but I also have to grant those same roles in the dashboard as well. Kind of weird that I have to grant the admin access to things as well.
What you are using is what we implemented in based on this discussion. The problem was that you could only assign a single role to a page but now can assign multiple.
I guess I’d like to better understand what you’re after and then can make some suggestions.
I think you’re going about this as designed. I’d be open to hear some ideas for making it easier. As for granting administrator to everything, I think that makes sense and we should probably just implement that internally.