Author: cjoergensen | Posted on: 6/10/2008 12:57:49 AM | Views : 995

Hi everbody!

We are going to re-invent our role and rights system in our ASP.NET application, and i am looking for a few direction for the best solution.

Our situation is this:

Each user in the application is bound to on or more roles. Each roles has set of rights. One right could be CanDeleteTaskOptions. As you can imagine these rights sets tend to get pretty large as the application grows and the number of webforms expands.

Another problems is that the code on each webform contains a lot code that looks like this:

 btnDeleteTaskOptions.Enabled = currentUser.CanDeleteTaskOptions;
btnShowTaksContactPersonDetails.Enabled = currentUser.CanSeeTaskContactPersonDetails;
etc... I can imagine that many of you has been in a similar situation. What have you done to ease the maintanance? And what technologies have you used to solve this?

Go to the complete details ...