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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Multiportal usersMultiportal users
Previous
 
Next
New Post
2/21/2007 9:52 AM
 

I know this has been asked before numerous times but has never really had a full answer.

I know little of the Authentication process in DNN but have played around trying to pick it to pieces to get what i am requiring. I know there is someone out there who can help with this and i really would appreciate your comments.

There are two distinct kinds of users the per portal user and the host or admin users differing by their scope of access to parent and child portals. The only thing i can see that differentiates the multi portal host users from the single portal users is the WHERE clause in SQL statements e.g.

WHERE  UserId = @UserId
 AND    (PortalId = @PortalId or IsSuperUser = 1)

What i want to achieve is a system whereby if a user is added to the installations Parent portal (i.e. portal 0) then they would have access to ANY of the child portals on that install. If however they are added to a child portal then they should be restricted to that child portal only. So a clause something like...

WHERE  UserId = @UserId
 AND    (PortalId = @PortalId or IsSuperUser = 1 or PortalId = 0)

whereby a user would be returned if their portal is equal to that of the @portalId, are a superuser or were created in portal 0

So if anyone knows the authentication system well in DNN and if modifying the sql statements might work as the basis for what i want to achieve (even just in theory) please let me know ASAP. Even if this idea is a complete load of *^&%$ then do you have any other ideas.

I have tried a number of user migration and sync modules but they just fall short on the most basic of installs requiring so much user maintenance.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Multiportal usersMultiportal users


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