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:
- adding the child portal user's UserID to a new row with the parent portal PortalID in the UsersPortals table
- 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!