I am using asp.net 2.0 and have a different Sql Database table schema for User profiles and Roles. But my roles do not depend on directory based as the Default Asp.net membership component assumes. I had implemented by Custom Profile Provider with hints from here. Roles system i designed are based on set of permissions like CanDeletePost, CanCreatePost, CanFlagPost
, admin will create a name for permission set
and this will be role
.
Example:
Rolename - moderator
Permissions - CanDeletePost, CanCreatePost, CanFlagPost
Question:
- how should i realize this permission based role system using asp.net.
- How is a membership different from a Role Provider. I still don't get it!!