-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Is your feature request related to a problem? Please describe.
MySQL and MariaDB support roles, but phpMyAdmin does not. It just handles them like normal user accounts and displays them in the same list, without host and password.
Changing rights for this role-"user" is also not possible, because of a slightly different SQL syntax for roles. You have to use only 'name_of_role' instead of 'user'@'host' in your GRANT statement, phpMyAdmin is using the latter right now which results in 'name_of_role'@'', which is a non-existing user.
Describe the solution you'd like
PhpMyAdmin should fully supporting MySQL/MariaDB roles, which includes (at least):
- managing of roles, separated from user accounts
- managing rights for roles the same way as for normal accounts (almost no difference here, see above)
- adding roles to users
- setting the default role for users.
The role admin option might be similar to the grant option, and should be supported too, but I guess this is less important.
Describe alternatives you've considered
The only alternative right now is using plain SQL statements for managing roles, rights for roles, and roles for users.
Additional context
- phpMyAdmin version: 5.1.0
Documentation for roles in MySQL and MariaDB: