Tuesday, April 28, 2009

Left navigation menu (part 2)



One thing I learned is that when using "link/image" section pointing to a dashboard, securing the dashboard will automatically secure the link e.g let's say user A doesn't have access to the "Security" dashboard then the section containing the link the "Security" dashboard won't be shown to the user. To illustrate this let's create one group for each dashboard


-HOME
-ADMINISTRATION
-MY_ACCOUNT
-REPORTS

-SECURITY





And let's assign user_a to all the groups except SECURITY and let's assign user_b to all the groups. When user_a login they get the left navigation menu without SECURITY



While user_b


gets all the links:


This is nice, when creating a link to a dashboard using "link/image" one only need to secure the dashboard then the link is secured de facto.