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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Question about users vs super usersQuestion about users vs super users
Previous
 
Next
New Post
3/8/2011 4:19 AM
 
Hello All,

I wanted to get a better understanding - or more accurately, I wanted to confirm some of my assumptions - about users vs super users.

I see that users are added in the user portal table and also the user roles table.  I see that super users are not.
I also see that super users have the superuser flag turned on.

If I want to switch a super user to being a normal user, can I just make two inserts and then remove the superuser flag?

Or is there a GUI means to 'demote' or promote a user?

Thanks fro any advice,

Mark

Mark Breen Ireland 1987 BMW R80 g/s
 
New Post
3/8/2011 6:25 AM
 
Hi,
First of all, DotNetNuke allows you to create several portals.
Superusers aren't owned by specific portal. They are common to all portals. That means they can connect to each portal to manage them. Consequently, they don't have specific profile properties which you may have created on a portal.
The Admin menu allows to create users dedicated to the current portal. That's why users have roles. It also uses other tables like UserPortals which associate user to portals.

DotNetNuke doesn't provide menu to promote a classic user or remove superuser rights.

I hope that it will help you.



Stéphane TETARD
ARICIE - Member of DotNetNuke France
 
New Post
3/8/2011 3:39 PM
 
Hello STÉPHANE

Thanks for your reply.

the purpose of my question was that I have a user and I would like to make her a normal user of the site.  Probably also an admin.

So I was considering inserted a record for her into userportals and also the appropriate records into userroles.  Finally, I guessed that it would be good practice to turn off the superuser flag in the users table.

My question is - do you think that is enough?  

The reason I asked about the GUI was just in case I was unaware of a premote / demote feature, although I did not expect it.

I know it is messy and I could ask the user to simply re-register with a different email and username but that is a PITA so it I can just make her normal site admin with a few inserts it would be neater,

thanks again for your free time,

Mark




Mark Breen Ireland 1987 BMW R80 g/s
 
New Post
3/8/2011 4:31 PM
 
there is actually a UI for superusers - go to host->superuser accounts. Note: this is only for new superusers, there is no UI way to escalate a user to a superuser. As noted, you can do this by hacking the database and setting the isSuperUser flag. Please note, as superusers have automatic access to all portals they should have no records in the userportals table.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/8/2011 5:24 PM
 
Hi Cathal

Greetings from Kildare.

yes, I know the SuperUser UI, I use that also.  thanks for your response.

Changing the topic ever so slightly...but still on user, portals and roles

I am experimenting with a site for a large Irish organisation, and I am considering adding in another 10 to 50 portals to that site.  I want to share users with portal 0, and so far, through testing, I see no immediate issues with inserting one record in userportals and two records into userroles for each additional portal I want to give the user access to.  

Do you know if many other sites are doing this with DNN?  Visualise that portal is sort of like a headoffice and the other portals are sub offices with their own sites, but sharing common information including usernames.

I could be talking about 10k to 20k users with subsets of users liked to one or two other portals.

Thanks

Mark






thanks

Mark



Mark Breen Ireland 1987 BMW R80 g/s
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Question about users vs super usersQuestion about users vs super 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