|Dynamically change the menu label [message #494709]
||Mon, 02 November 2009 04:54
Registered: July 2009
In my application I need the 'Administration' menu on main menu bar to be
visible only if user logins as systemAdmin else it should be invisible for a
general user.For a general user it should be 'Component' menu with submenu
on which the general user has rights
I can get the permission rights from model class.
In the model I also have a super class 'User' with two subclassess
SystemAdmin. So the visiblity of menu should be decided on what class the
user is instance of.
I m using concept of 'activities' for that but the problem i get is when the
role is updated when the application is running
If i repeat the code in the listner that i used in workbench advisor i need
to clean up the existing perspectives, views and editors in the workbench
Is there a way to avoid this cleanup and still have activities working ?
please do let me know
Thanks in Advance !
Powered by FUDForum
. Page generated in 0.01784 seconds