Support

Site Restoration

#26624 Possibility of creating a new user in ANGIE

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by on Thursday, 29 December 2016 17:17 CST

perfect-web
 Hello, is there a possibility of creating a new Joomla user in ANGIE, instead of changing the existing users?

Could it be included into Akeeba Solo restoration script?

nicholas
Akeeba Staff
Manager
Hello Piotr,

There are several reasons why this is not implemented.

Supporting this feature on all versions of all supported CMS / scripts is a very tall order. The development time required to do that simply makes no business sense. So let's assume for a minute that we only support that for Joomla (and you can extrapolate the problem we'll be facing in other platforms).

First of all, what happens if you enter the same username or email address as an existing account? Do we upgrade that account, do we replace it or do we display an error? All possibilities are valid courses of actions depending on the use case.

The new user has to be assigned groups. Which groups? Do we blindly assign the group with ID=8? Or do we scan which groups have the Super User privilege? What happens if there are more than one such groups? Do I pick the first, the last, or all of them?

What if you have non-core user and/or authentication plugins offering integration with another system such as a domain controller or a single sign on service? Do I have to support all of these arbitrary plugins? How do I do that when that requires running Joomla! as a Super User but I can't do so because I need to create a Super User before I write Joomla's configuration, leading to a chicken and egg issue.

That's just what I have on the top of my head. These are all very difficult issues without any good solutions. Implementing such a feature would only lead to more frustration in users because there are Even More Options(tm) which Don't Work As I Expected(R). Besides, such a feature, even if it worked fine for everyone, wouldn't be solving any real issue. The problem you're looking to solve is "my client gave me a backup but not a Super User login, how can I gain access to the darned site". There are two answers to this problem:
  • Modify a user account during restoration using ANGIE
  • Restore without modifying a user account. Back up the user record you are going to modify. Reset the password following Joomla's documentation. Log in. Create a new Super User. Log our. Restore the user record you modified. Log in with the new user.

The first approach exists because the second one is a pain in the rear and people do have the problem I presented. According to our findings the provided solution is more than acceptable by all users (well, except you, I guess) :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!