[BlueOnyx:18683] Re: 5208R - Bug in Services -> Web

Dirk Estenfeld dirk.estenfeld at blackpoint.de
Wed Nov 18 02:04:19 -05 2015


Michael,

yes I think your suggestion is good.
It is a good idea to help customers and users to prevent removing databases by accident.

Maybe you could do one step ahead:
In web you can only enable or disable the general possibility to have databases (and number) and define username and password.
In the new menue option MySQL/MariaDB you can add or delete (with popup confirmation) the databases. If no database in MySQL/MariaDB longer exist then you can remove the check in the MySQL/MariaDB checkbox.
Then you do not have to spread on/off elemnts over two menue options. In web yoju can generally turn on and off the possibility to have databases and in MySQL/Mariadb you manage the databases.
You did write some time ago that you also plan to add quota for mysql databases. This could be also an option with could be configured in the new menue option MySQL/Mariadb.

Best regards,
Dirk

-----------------------------------------------
blackpoint GmbH - Friedberger Straße 106 - 61118 Bad Vilbel


-----Ursprüngliche Nachricht-----
Von: blueonyx-bounces at mail.blueonyx.it [mailto:blueonyx-bounces at mail.blueonyx.it] Im Auftrag von Michael Stauber
Gesendet: Dienstag, 17. November 2015 17:46
An: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
Betreff: [BlueOnyx:18682] Re: 5208R - Bug in Services -> Web

Hi Dirk,

> 5208R
> there is a bug in vsite -> services -> web.
> It is possible that a user can delete a database by accident.
> 
> I cannot reproduce the bug in 5209R.

Weird. 5208R and 5209R use the same base-mysql, base-alpine and
base-vsite is almost identical. At least in the parts where MySQL is
concerned.

But yes: I think I have an idea how and why that happens. I'll publish a
fix for it.

What I'll probably do is this: Once MySQL is turned on under vsite ->
services -> web you cannot turn it off there. Any saving done on that
page will then no longer change any MySQL related settings.

In order to be able to disable MySQL I'll create a separate button under
vsite -> services -> MySQL that will fire a popup confirmation first (to
warn that disabling MySQL will delete all databases) and then turns
MySQL off from there.

I don't like to have to spread related on/off elements to different GUI
pages. But in the interest of accident prevention this is probably the
best possible compromise.

-- 
With best regards

Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list