Role based access of flows in oj-sp-in-app-navigation
Summary:
Hi,
We are using oj-sp-in-app-navigation to show the different flows. Suddenly a new requirement came up to show these flows based on role (Admin,View).
How can we show and hide these flows in oj-sp-in-app-navigation where navigation-data is coming from an ADP variavle inAppNavItemADP
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
2410
Code Snippet (add any code snippets that support your topic, if applicable):
<oj-sp-in-app-navigation class="oj-flex-item oj-sm-12" navigation-data="[[ $variables.inAppNavItemADP ]]" selection="{{ $variables.inAppNavSelectedItem }}" on-sp-selection-action="[[$listeners.inAppNavigationSpSelectionAction]]"></oj-sp-in-app-navigation>
"inAppNavItemADP": {
"type": "vb/ArrayDataProvider2",
"defaultValue": {
"data": "{{ $variables.inAppNavItem }}"
}
},
"inAppNavItem": {
"type": [