-
April 29th, 2011, 11:05 AM
#1
Design pattern for permmisions
Hi,
I have a question that already posted here.
I want to build a project (web site) that have a few kind of users.
Administrator - that can do every thing in the site
Registered user - that can do every thing in his page.
UnRegistered User - that can only watch the web.
My question is what is the design pattern or that I should use?? and can I do it?
need answer as fast as possible.
Thank you.
-
May 1st, 2011, 02:54 PM
#2
Re: Design pattern for permmisions
Hello,
One starting point is to have 'Groups' and make your users members of those groups. Assign the permissions to the groups and infer user permission from their group membership.
You could also look at asp.net roles but I've not got any experience here and so can't advise.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|