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 ...I need child portals that use the same authentication as the parent, but have independent roles I need child portals that use the same authentication as the parent, but have independent roles
Previous
 
Next
New Post
10/27/2009 6:31 PM
 

I'm in the process of creating a site where I want to use a single login system to access the main site and any number of child portals with independent role managment so that users can have different roles within each portal

 

I've read up on doing multiple portals, but no where is it made clear if children have their own accounts or not. Can DNN be made to work this way or am I going to have to do some tweaking ??

 
New Post
10/28/2009 1:32 AM
 

You'll have to do some tweaking.

You can duplicate the users in the portals with a DB trigger that adds the appropriate relationship to the UserPortals table, as well as registered the user in the Registered Users role in each portal with the UserRoles table.

There are third party modules that will allow you to share users across portals, I haven't used them in a number of years though.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
11/2/2009 2:42 AM
 

I've been poking around the code, and it appears that I could create a new membership provider that always uses portal 0 for user auth, and perhaps a change to the cookies would be needed to make everything work off the portal 0 cookies (all the portals are going to be subdirs off the same domain, so there is no cross-site scripting involved)

 

 
New Post
11/2/2009 5:00 AM
 

Have a look at Michael Washington's  site at http://www.adefwebserver.com/DotNetNukeHELP/ and look for Portal Login.  I use a slightly modified version where I use portal 0 for main login and role management, then when I create a new portal which requires separate roles, I set up roles in portal 0 *and* the new portal and give the role name a short portal prefix so that it's obvious which portal it refers to.  Once you add a user to a role, when they login at the target portal the required roles and  properties are duplicated on the target portal.
 

 
New Post
11/2/2009 9:32 AM
 

I'll take a look but double login is not an option -- they have to login once and only once -- if they enter the site in one of the child portals, the login has to get them into the parent and all the other children in one shot.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I need child portals that use the same authentication as the parent, but have independent roles I need child portals that use the same authentication as the parent, but have independent roles


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