Elxis CMS Forum

Support => General => Topic started by: ROUBOS on August 02, 2010, 09:59:39

Title: Can we change a user from Super Administrator? [SOLVED]
Post by: ROUBOS on August 02, 2010, 09:59:39
Hi,
I gave a user Super Administrator privileges and now cannot change it. Is it possible? I am the Super Administrator of the site.
thanks
Title: Re: Can we change a user from Super Administrator?
Post by: webgift on August 02, 2010, 10:21:35
Right!
I have done that on the past and i removed it from database entry :)
You can only disable this account.!

It's normal to happen that because it has the "highest" privileges like your account.!
Title: Re: Can we change a user from Super Administrator?
Post by: ROUBOS on August 02, 2010, 10:34:16
OK thanks.
By the looks of things the a user cannot even change his own privileges from Super Administrator to anything else. Once it's done, it's done!
 
I will delete the entry from the database and re-create the user
Title: Re: Can we change a user from Super Administrator?
Post by: datahell on August 02, 2010, 21:24:01
This is for security reasons and believe me it is better this way. You can delete a super administrator only from the phpmyadmin.
Title: Re: Can we change a user from Super Administrator?
Post by: ROUBOS on August 02, 2010, 23:44:57
OK,
I understand the security issues.
If I delete a user from phpMyAdmin, what happens to items they have created on a site? (they are linked to them as authors)
Title: Re: Can we change a user from Super Administrator?
Post by: apkoutsou on August 03, 2010, 00:07:32
Do not delete the user... Just change the fields 'usertype' and 'gid' to 'Registered' and '18' (if you have not created other user groups than the defaults) respectively and the user is back to a simple register member...
Title: Re: Can we change a user from Super Administrator?
Post by: datahell on August 03, 2010, 08:45:04
You dont just delete a user. User information are located in several tables in database.
Do what apkoutsou proposed you, it is the simplest solution.
If you want to completely delete the user then make sure you also move his listings to an other user, delete his possible extra fields, update third party components, eblogs, etc, and assign his items/listings to other users. And this should be done via phpmyadmin.

My advice is to never delete a super administrator. Rename him, change his password and change his e-mail address instead.
Title: Re: Can we change a user from Super Administrator?
Post by: webgift on August 03, 2010, 08:49:30
I supposed that you 've create a user and after that you prefer to delete this.
So i recommend to do what datahell and apkoutsou said above. ;)
Title: Re: Can we change a user from Super Administrator?
Post by: ROUBOS on August 03, 2010, 20:01:29
Thanks people. Will do that. Appreciate the help.