[Phpmyadmin-devel] Regarding https://sourceforge.net/p/phpmyadmin/feature-requests/1489/

Marc Delisle marc at infomarc.info
Sat Jan 18 13:21:04 CET 2014

Le 2014-01-18 02:14, Dhananjay Nakrani a écrit :
> Hi guys,
> I tried using 'PMA_getDbRightsForUserOverview()' and it turns out that
> it returns the overview of privileges for all users present in
> `mysql`.`user`. 
> What we need for this is the 'Create_priv' field for current user only.
> I also looked for such a function
> in './libraries/server_privileges.lib.php' but could not find any.
> Do you know any functions which can give all the privileges
> from `mysql`.`user` current user..??

Have a look in libraries/check_user_privileges.lib.php to the function

Marc Delisle
http://infomarc.info | http://phpmyadmin.net

More information about the Developers mailing list