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 ...Add some child portal users to roles on parent portalAdd some child portal users to roles on parent portal
Previous
 
Next
New Post
3/3/2008 1:45 PM
 

Hi all,

I'd like to let some child portals users into roles on the parent portal. I would like to add some users from certain roles in certain child portals to certain roles in the parent portal (). Shouldn't be all that hard to write a module for this. Can anyone think of any potential problems with just:

  1. adding the child portal user's UserID to a new row with the parent portal PortalID in the UsersPortals table
  2. adding a row for each RoleID that the UserID is to be added to on the parent portal in the UsersRoles table

I've looked about in the DNN DB on a local testing box, and have manually tried the above 2 steps. Seems to work just fine. I've also been able to log into the parent portal as that user and have been able to go back and forth between the portals seamlessly. No problems so far.

Can anyone think of potential problems with this approach? Might there be security problems I'm not thinking of? (I kow that there is a COTS module that is supposed to do this, and it is pretty complex and replaces the DNN membership provider and requires web.config changes etc. There has to be a reason it does this? Am I missing something?)

Thanks for any suggestions, theoretical guesses or words from experience!

 
New Post
3/5/2008 10:38 AM
 

Does anyone have ideas on this? OK or not? Good practice or not?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Add some child portal users to roles on parent portalAdd some child portal users to roles on parent portal


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