Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationProblem with custom role providerProblem with custom role provider
Previous
 
Next
New Post
10/8/2010 11:45 AM
 
I currently am running DNN version 5.04.04, that is using a custom membership provider and custom role provider.  This is a project (dnn code base, along with the custom providers code base) I have inherited from developers that are no longer with the organization. The problem I am having is that it looks like the custom role provider was not fully implemented.  So I have spend some time implementing the role provider.  All the necessary methods appear to be working.  The big problem I am having now, is that it appears that somewhere (not in the custom role provider), the DNN code base is still looking at the Roles table in the DNN database somehow and it is causing strange "permissions/roles" problems.  It appears that the custom roles provider I have implemented goes against our own database for roles, that somewhere else in the DNN core it is also looking at the "Roles" table to get many of the roles.  So it seems that overall, it calls my custom provider half the time, it is also using the old "Roles" table to get the initial roles.  And therefore since they are not synced to the roles we have in another database (custom), when a user logs in, they don't see what they have rights to see even though in their UserInfo the roles listed are correct.  The page setting permissions are also correct.  How do I know the roles from the "Roles" table are still being used?  Because if i change any of them, then strange changes with permissions occur throughout the site.  I have added to the web.config file the custom provider section.

SO MY QUESTION IS:  What have I missed? Is there something more I need to do get DNN to stop looking at the Roles table? 

Does anyone have some tips and what I should look at or settings to change?  I have struggled with this problem for quite a while and have not found a solution or reason.  Help!! 

I thank you in advance! 
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationProblem with custom role providerProblem with custom role provider


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out