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 ...Multi portal (8) install but only (1) Admin account?Multi portal (8) install but only (1) Admin account?
Previous
 
Next
New Post
5/17/2007 2:35 AM
 

I have an install of DNN 4.4.1.  It is working fine, but I just noticed that since I created each portal with the SAME NAME for the  administrator  for all protals at time of creation, I only have a SINGLE ADMIN account plus the HOST accoint listed in the table USERS of this DNN install database. I have not added any other users to the portals so  I would have expected there to be 8 ADMIN USERS plus 1 HOST SUPER USER. But it looks like all the portals are sharing the Admin accont since I created it with the same name and password for all portals?........

Question: Why does the single Admin account work on all the portals, doesnt each portal have its own admin account even and ID for EACH the Admin account/portal?  I would expect 8 Admin acounts (even if they are all called "CoolAdmin" or whatever) plus the HOST account to be listed in the USERS table in the database since I have 8 portals. I would expect the CoolAdmin UserID in the USERS table to be different for each "CooAdmin" in the username column.

I noticed this when I created the last portal(lets call it portal8 for reference), and I looked at  the Terms Of Use  statement in ALL the OTHER portals and noticed that it reflected the EMAIL ADDRESS I input for the last portal (Potal8) at time of creating, lets call it info @ portal8.com.

(all porals Terms Of Use  SERVICE CONTACT :  (email address here)  were the SAME because they all truely use the same admin acount, this is what caused me to look at the Users table.

example. If i browse to poral1, portal2, portal3 Terms Of Use  and look at the section for SERVICE CONTACT :  THE EAMIL is for says....  info @ portal8.com   because that is whe the email address of the only Admin account in the Users table is...

Is this a total no no? to create the portals with the same admin acount name? if so? why isnt there PK or unque index on that column and error out at time of parent portal creation?

hope this makes sense. strange, it works, i can use the coolAdmin to log into all the portals fine, but the user profile is refected for this single coolAdmin account in all portals since its the single admin acount for all portals I created.

comments please... why does this happen, should i change it? how to change it... ????

 

 
New Post
5/17/2007 5:34 AM
 

in an installation with multiple portals, a user name can only used once. A user can register for an additional portal by creating an account with the same user name and password - however all other user properties get overwritten on new registriation. Other than the user entry, properties of the user profile are always stored per portal (and the properties defined may vary per portal as well).

In your situation, if you want to use different admin accounts, you can easily create a new account, grant permission to the administrator group and select the new account as portal admiin contact in portal settings. ATM I am not sure, what is happening, if you delete the admin user in one portal, be careful.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/17/2007 10:55 AM
 

As mentioned above the root issue is due to having one account.  This explains also why the most recently updated e-mail address is used.

You can create the individual logins but you MUST be 100% sure that you use a different name for each.  Also, when you are going to remove the inital one you created you will want to be careful, I have a feeling that deleting the acocunt could be a bit tricky as it might end up removing it from multiple portals...


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/18/2007 1:19 AM
 

Thanks for the reply. It does all make sense about how this is working now. But it just doesn't seem very safe letting the Host user be logged in, and creating another portal, and using the same name for the Admin account that is "Already in use" (listed in the users table). What if a portal,,, lets say,,,,, portal4 had an admin named Admin4. The Portal4 is up and running fine and then the Host decided to create another portal called "GreenPortal" with an Admin account called "Admin4."   Wouldn't this totaly mess up an existing portal4's Admin account? Wouldnt portal4's admin come in one day and his acount/porifle/info be mysteriously changed by me the Host because I created a new portal called "GreenPortal" and just coincidentally used tthe same name for hte Admin account  (admin4) ??

Shouldnt the Table Users:username column be a uniq index? and error out  when creating a portal and the Admin acount typed in is ALREADY used by someone for their portal????? I just dont see how this username is allowed to be overwritten when you create a new portal using its same name. I do see that in the users_portals table it does list this user for each portal.  If I delete this Admin accouint it looks like it would mess up all the other portals because they would no longer have that admin acount to use for a login.....  crazy

Table Users  (shouldnt there be an Admin listed 8 times??? with a different UserID for each?

UserID                Username              FirstName LastName   isSuperUser....... affiliate...email....

 1                            host                      SuperUser Account        1  email @ someplace.com  SuperUser Account   0
 2                           admin                   Admin Account                 0  email @ someplace.com   AdminUser                0

 

Table UserPortals

UserId            PortalID             UserPortalId   ...createdDate....

2                      0                     1                    
2                      1                     2                     
2                      2                     3                     
2                      3                     4                     
2                      4                     5                     
2                      5                     6                     
2                      6                     7                     
2                      7                     8                    

 

 

 

 
New Post
5/18/2007 9:04 AM
 

Yes, I understand that it is a bit "unusual" the way it works, but there are good reasons for it when it comes to sharing logins between porals.

If you go to change to a different admin I recommend the following.

For each portal complete the following.

1.  Login as host and create a new admin account (With a unique name)

2.  Mark that account as the admin under Site Settings

3.  MANUALLY delete the record in UserPortals that references the site's portal id and the admin userid

This will unassociate the account to the portal, but will do the removal safely.... I don't know for sure that it would break using other methods, but it isn't worth the risk!


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Multi portal (8) install but only (1) Admin account?Multi portal (8) install but only (1) Admin account?


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