Managing Permissions

Topics: Web Client Software Factory, User Forum
Apr 24, 2007 at 5:16 AM
Hi, i need a web based permission managing interface for my app. As i understand i have to change/add/delete rules stored in sites web.config. Can anyone point me to the starting point for solving this problem ?
Apr 24, 2007 at 5:01 PM
If you look at the source code for the reference implementation, there are a few things that handle web based permissions. In the site's main web config, there is a section for authorizationProviders that sets a nubmer of rules, for example AllowAdministerPermissions. The AllowAdministerPermissions rule is used in the Admin Module. In the Admin module's web config an autorization rule for a page is set using this rule. Also, in the AdminModuleInitializer, a SiteMapNode's visibility is determined using this rule as well.

I hope that helps a bit.