I am writing a GWT application and and I need to only load certain widgets based on User Roles. For eg. there maybe admin widgets, user widgets etc.
Any thoughts how I can implement this?
One option is that I can check the role in the code and hide them. But since this code gets Executed at the client side I think this is a security risk.