[Phpmyadmin-devel] suggestion

Hi Messages like 'A newer version of ...' and 'Directory config, which is used by the setup..' should not be displayed to user because they shouldn't be able to change/ update those things. Only the main user/ root should receive these. Users would only become confused upon seeing these.

Le jeu. 18 juin 2015 à 20:24, Matt Scott <matt.scott@sohnetwork.com> a écrit : Hi Messages like 'A newer version of ...' and 'Directory config, which is used by the setup..' should not be displayed to user because they shouldn't be able to change/ update those things. Only the main user/ root should receive these. Users would only become confused upon seeing these. ------------------------------------------------------------------------------ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https:// <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel> lists.sourceforge.net <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>/lists/ <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>listinfo <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>/ <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel> phpmyadmin-devel <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel> Hi, I agree with the idea that the messages might not be displayed to everyone, but... Not that it might be only displayed to root user. Why? Because when phpMyAdmin is used in companies, the root user might not be used, so nobody would be notified by these messages. So, if it's not everybody and not only root, is there another way to define the users to notify? Hugues.

On Fri, Jun 19, 2015 at 12:51 AM, Hugues Peccatte <hugues.peccatte@gmail.com
wrote:
Le jeu. 18 juin 2015 à 20:24, Matt Scott <matt.scott@sohnetwork.com> a écrit :
Hi
Messages like 'A newer version of ...' and 'Directory config, which is used by the setup..' should not be displayed to user because they shouldn't be able to change/ update those things. Only the main user/ root should receive these.
Users would only become confused upon seeing these.
------------------------------------------------------------------------------ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https:// <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel> lists.sourceforge.net <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>/lists/ <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>listinfo <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>/ <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel> phpmyadmin-devel <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>
Hi,
I agree with the idea that the messages might not be displayed to everyone, but... Not that it might be only displayed to root user. Why? Because when phpMyAdmin is used in companies, the root user might not be used, so nobody would be notified by these messages.
So, if it's not everybody and not only root, is there another way to define the users to notify?
Hugues.
Hi, I agree with the idea as well. I think, we can have by default root user as the admin and have a config option with value username of admin user. Also, ideally it should allow to make multiple(comma separated list of usernames as value) or all(may be value "all") users as admin. So here all admin users get notification. I'm not sure this the right way, there might be better way(may be without config change) to achieve this. Any other suggestions ? Regards,
------------------------------------------------------------------------------
_______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
-- Smita K.

Le jeu. 18 juin 2015 à 22:10, Smita <kumarismita62@gmail.com> a écrit : On Fri, Jun 19, 2015 at 12:51 AM, Hugues Peccatte <hugues.peccatte@gmail.com> wrote: Le jeu. 18 juin 2015 à 20:24, Matt Scott <matt.scott@sohnetwork.com> a écrit : Hi Messages like 'A newer version of ...' and 'Directory config, which is used by the setup..' should not be displayed to user because they shouldn't be able to change/ update those things. Only the main user/ root should receive these. Users would only become confused upon seeing these. ------------------------------------------------------------------------------ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>:// <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel> lists.sourceforge.net <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>/lists/ <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>listinfo <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel>/ <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel> phpmyadmin-devel <https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel> Hi, I agree with the idea that the messages might not be displayed to everyone, but... Not that it might be only displayed to root user. Why? Because when phpMyAdmin is used in companies, the root user might not be used, so nobody would be notified by these messages. So, if it's not everybody and not only root, is there another way to define the users to notify? Hugues. Hi, I agree with the idea as well. I think, we can have by default root user as the admin and have a config option with value username of admin user. Also, ideally it should allow to make multiple(comma separated list of usernames as value) or all(may be value "all") users as admin. So here all admin users get notification. I'm not sure this the right way, there might be better way(may be without config change) to achieve this. Any other suggestions ? Regards, -- Smita K. I thought about something like this. Is there any privilege that might tell us this information for a user? H.

Hi Dne Fri, 19 Jun 2015 01:40:21 +0530 Smita <kumarismita62@gmail.com> napsal(a):
I agree with the idea as well. I think, we can have by default root user as the admin and have a config option with value username of admin user. Also, ideally it should allow to make multiple(comma separated list of usernames as value) or all(may be value "all") users as admin. So here all admin users get notification. I'm not sure this the right way, there might be better way(may be without config change) to achieve this. Any other suggestions ?
I don't think it would work this way - most users are lazy and won't set it up. I think on shared hosting the maintainer of the server will almost never use phpMyAdmin, so he won't see the notification anyway, so best way to handle it there is to set $cfg['VersionCheck'] = false;. The use case for this feature is single user installing phpMyAdmin for his own and he should get these notifications regardless username he has in MySQL. -- Michal Čihař | http://cihar.com | http://phpmyadmin.net

Le 2015-06-18 13:56, Matt Scott a écrit :
Hi
Messages like 'A newer version of ...' and 'Directory |config|, which is used by the setup..'should not be displayed to user because they shouldn't be able to change/ update those things. Only the main user/ root should receive these. Users would only become confused upon seeing these.
About the first message, it's configurable via the VersionCheck directive in your config.inc.php. About the second message, I assume that this should not be a problem in practice, as the person installing phpMyAdmin should have tried it and seen the message. -- Marc Delisle | phpMyAdmin
participants (5)
-
Hugues Peccatte
-
Marc Delisle
-
Matt Scott
-
Michal Čihař
-
Smita