Design Pattern - Implementing Roles and Rights

 
60   95.3
May 16, 2010
 
Can anyone please suggest which Design Pattern is best to implement user roles and rights?

I am looking for a generic solution in which I define roles and based on that I should be able to define rights at the menu, functionality and control level at the UI. Thanks. Some samples will be great.
 2 comments
 
Is this for Web or Windows applications? --- Robert Blixt  May 18, 2010
 
Both --- Satyajit Behera  Jun 07, 2010



50   50
May 18, 2010
Both Lazy IoC container and Interception are patterns which I'm currently using in terms of implementing the Roles & Rights.
 2 comments
 
Thanks --- Satyajit Behera  Jun 07, 2010
 
Do you have an example implementation for the same? Thanks in advance. --- Satyajit Behera  Jul 20, 2010