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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Administrator Security Role is not enforced across child portalsAdministrator Security Role is not enforced across child portals
Previous
 
Next
New Post
11/16/2009 12:58 PM
 

We are running DNN 4.9.4 with multiple Child Portals.  We have an issue with users being logged out when they navigate within their child portal. (user logs in, then they click on any link/button and are logged out).  In order to fix the logout issue, we have added users to Portal 0 in the "UserPortals" table.  This has fixed the logout problem, but now users with the "Administrator" role on ANY child portal are also being granted "Administrator" privileges on Portal 0, even though they do not have the "Administrator" role assigned for Portal 0.  It appears as if DNN is only checking the name of the role when enforcing security, instead of verifying the PortalID as well.
 
Steps to reproduce:
  1. Create multiple child portals on DNN 4.9.4
  2. Create a user on Portal 1 and give the user "Administrator" role on Portal 1
  3. Add user to "UserPortals" table for Portal 0 with Authorised = 1
  4. Login on Portal 1 with user account (should see Admin ControlPanel, etc.)
  5. Navigate to Portal 0, user will have Admin rights on Portal 0 (even though they shouldn't)

 
New Post
11/16/2009 1:10 PM
 

** UPDATE **
I have found that it does not matter if you perform step #3 above or not, regardless if you do or don't, the problem still exists.  I'm using the default "DNNFriendlyUrlProvider" url provider.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Administrator Security Role is not enforced across child portalsAdministrator Security Role is not enforced across child portals


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