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 ...Adding users across portalsAdding users across portals
Previous
 
Next
New Post
8/2/2006 5:06 PM
 

I was looking at this post a couple of days ago:
http://dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/mid/2108/threadid/46595/scope/posts/Default.aspx#58605

... and found the below quote quite interesting, as I was experiencing what I (probably wrongly) interpreted as odd behaviour in 4.3.3:

cnurse wrote
You can use an existing user on Portal Creation as long as two conditions are met.

1. The user is NOT a SuperUser.  By definition a SuperUser does not belong to any portal, so you cannot use a SuperUser to create the portal.
2. The username AND password match an existing user.

It is possible that when you deleted the Portal you deleted the User from the dnn tables (but the name remained in the aspnet Tables, which is causing the error).

So I am wondering in regards to this, would the following scenarios be correct?

a)
I have a normal user, called user1 that exists in Parent Portal A, and somebody registers with the same username/password in Parent Portal B. Once this is created it will be the same user account across both portals. If administrator of Portal A changes the credentials and details of user1, then the credentials and details of user1 from Portal B will in turn be changed without the administrator of Portal B's knowledge.

b)
If by coincidence an entirely different person tries to register a normal user called user1 with Parent Portal C, but with a different password they will get a user already created error. If that person decides to contact the administrator of Portal C and ask him about the availability of user1, Administrator of Portal C will look at the user accounts screen, and perceive that user1 is not registered as it is not being displayed.

c)
The username for all normal users must be unique across all portals of a DNN installation, unless they have the same password.

d)
If multiple portals are created with a default superuser name of admin with same password all the portals will be managed with that same superuser account. You can change this situation by adding additional administrator user accounts to each of the portals, but you can never get rid of the original admin user from that portal afterwards (as the default administrator can't be deleted via DNN). Note I'm experiencing this problem at the moment, the same administrator account is being shared across all portals, I want them to be seperate.

Is what I've written normal behaviour?

I don't think that there are any screens even when logged in as hosts that show which users are spread across multiple portals? I wonder if this behaviour can be changed with 4.3.3 via a setting?

Would you be in agreement in what I've written? Any comments?

Thanks

Alex



Alex Shirley


 
New Post
8/3/2006 6:50 PM
 

a) is correct - theres only 1 user record, but they're a member of both portals. To have the user across portals, the same username and password combination is required.

b) yes thats true - though normally people simply pick another username if rheir first choice is not available. The administrator of portal c cannot see the user as it exists on other portals - only admins of those portals, and superusers can see them in user management.

c) yes

d) the superuser account is actually "host", not "admin" - superusers automatically have rights to all the portals under that dnn instance. If you mean portal admin's then, yes, it works the same way - if you create 2 child portals with the same username/password combination, then that user can log in as admin to both. If you attempt to create a new portal using an existing username and give the incorrect password, it will not allow you. This does mean that you can have a user who is only a user of 1 portal, but an admin on another.

When you're logged in as host, you can see all users, but you cant see what portal(s) they're a member of.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/3/2006 7:27 PM
 

Thanks Cathal!

So would you agree the weakness with DNN 4.3.3 at present are:
(and note these are not major issues (this really is my major bugbear at the moment: DNNP-3708 ! : ))

1) If a username already exists with one portal, and the administrator or user tries to register the same username with different a password on another portal, the administrator will have no idea why the user can't register this account(unless they read this thread!). Ideally the administrator needs an appropriate error message that tells him that the user is already registered with other portal(s) and maybe that error message needs to state what those portal(s) are.

2) When you're logged in as host, you can see all users, but you cant see what portal(s) they're a member of. This functionality is going to be needed in a future DNN release for diagnosing user account issues. I guess this functionality could be extended so that the host can manage any user across multiple portals.

Cheers

Alex

p.s.

I am now wondering what would happen if a user that is spread across two or more portal gets deleted.
In DNN 4.3.3 would it be either:

i) The user account be deleted across all portal accounts it is registered with (not good).

ii)  The user account is simply removed from that portal and still remains across the other portals.

iii) Nothing happens or even worse an error message.

I guess I need to have an experiment with this!



Alex Shirley


 
New Post
8/3/2006 7:57 PM
 

yes, it's not really a true single-sign on system. Really it's a behavioural hangover from an early version of dotnetnuke, we intend to implement a true single-sign on system at some point, part of the reason for the extensive roles/profiles changes in recent versions were to allow us to support this, as it wasn't feasible with the default implementation of the microsoft memberrole component.

1) true- please record the enhancement request in the support log

2) this will be built in in a later verson

i) yes, as it's a single user account, if you delete it once, it removes the portal references too (as the user needs to use the same username/password combo, it's always going to be the same user)

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/5/2006 6:48 PM
 

I am extremely new to DotNetNuke so I am unsure of its various implementations but if this code is utilized to provide a portal service where a host can provide clients with their unique sites then it is somewhat strange to limit usernames to a single installation base. These "clients" may not be aware or even care of existing portals so they might be somewhat perturbed that their username selection is limited by other's selections.

Since Portals are given a Guid couldn't this be used as an extra layer of distinction when authorizing users similar to ASP.NET's implementation of Application ID's and to potentially utilize that as the Application Id that in the ASP.NET membership tables?

I would suggest that future versions provide the ability to determine if certain portals should have awareness of other portals (for web ring scenarios) or to have an encapsulated user base without restriction of username and password.

And while you are at it can I have the sun, moon and stars as well? ;)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Adding users across portalsAdding users across 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