5 Replies
context: I'm using model policies to hide/show my resources, but I have one navigationGroup that groups several childItems, the problem is when a user doesn't have any permissions to see any of those childItems, I got an error. So I need to somehow hide the navigationGroup as well.
this is the error
anyone please?
up
Nav groups have no context of authorization. So your best bet would be to build a custom navigation using the builder where you can check for visible items before returning the navigation builder instance.
thanks!