- #Scriptcase hide menu items based on group access how to#
- #Scriptcase hide menu items based on group access full#
It is quite long, please check the link for all the detailed information. And this is the subsite menu that person Z should see: Page A Page C Page D However currently person Z can still see page B in the subsite menu, but upon clicking that menu item linked to page B, person Z will get a 'You have no access to this page'. The answer to this question can be found here.
#Scriptcase hide menu items based on group access full#
To learn more about these macros and other menu macros, access the full documentation. The macro group in the scappmenu menu will perform the dynamic creation of the items. I've been searching all day and I just can't figure it out, to me it seems that this should be default behavior that a page isn't listed in the navigation when the user has no permissions to access it (be it reading, editing, contributing. Note: mcr142 and mcr141 are applications that will be opened by the menu option. I want the menu item to be hidden if the user has no permissions for the page behind that menu item. I want person Z to not see that menu item at all, person Z shouldn't see page B in the menu. Just add all menu items that will be in your overflow menu inside the same group. However currently person Z can still see page B in the subsite menu, but upon clicking that menu item linked to page B, person Z will get a "You have no access to this page". The best way to hide all items in a menu with just one command is to use 'group' on your menu xml. This is the subsite menu that person X and Y see: Page AĪnd this is the subsite menu that person Z should see: Page A
#Scriptcase hide menu items based on group access how to#
Page B is the page with the unique permissions. How to show or hide navigation menu items based on the logged-in user role in asp.net core mvc.Healthy diet is very important for both body and mind. Let's say that person X and person Y have been given permissions to access this page and person Z doesn't have any permissions for this page at all. Step 2: Then you can see a screen to select the database type, click on the image of MSSQL server database. Only certain users have been given permissions to see the page and to edit it. Step 1: Log in ScriptCase, and on the top menu you can see the item 'Database ', click on the sub item 'New connection' or use the icon from the fast menu. I have a menu item in my subsite menu (it is a term driven menu, so managed navigation) that links to a page with unique permissions.