Menu Access

  

Hi All,

I would like to ask how to have menu access control in Outsystems.For Example Home Screen menu and its subMenu is accessible and visible to all group of user but Bookings Menu and its SubMenu are visible to user group A only.Rooms menu and its submenu is accessible to user group B and C with one of the submenu is only visible and accessible to user group C.

With this kind of design, when user group A login to system, he can only see menu of Home Screen and Booking only.While user group B and C can see Home Screen and Rooms.

can anyone help on this? 

Solution

Hi Johnson,

You have to use the IF widget, which allows you to show or hide UI elements based on a certain condition. So you'd drop an IF in your screen and in its condition use something like the "Check<YourRole>Role" functions, which are automatically created for each Role you define, to check if the user has that particular role. In the True part of the IF, you put your menu. The False part can just be left empty.

Solution

Thanks Aurelio. ^^