[MDEV-7800] Improper "show grants" presentation with adminer Created: 2015-03-18 Updated: 2022-09-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.42, 10.0 |
| Fix Version/s: | 5.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Arnaud Launay | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream | ||
| Environment: |
Debian Wheezy stable, mariadb apt repository mysql Ver 15.1 Distrib 5.5.42-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 |
||
| Description |
|
When trying to use a user with a global SELECT privilege on . , and more privileges (lock/insert/delete/etc) on two other DBs, adminer refuses to update rows in the db. We opened a bug at adminer: They told us it was a bug in mariadb... |
| Comments |
| Comment by Sergei Golubchik [ 2015-03-18 ] | |||||||||||||||||
|
Please, show the output of SHOW GRANTS for the user in question. | |||||||||||||||||
| Comment by Arnaud Launay [ 2015-03-19 ] | |||||||||||||||||
|
| |||||||||||||||||
| Comment by Sergei Golubchik [ 2015-03-19 ] | |||||||||||||||||
|
What table does this foobar@W.X.Y.Z user tries to edit? Please, show the output from SHOW FULL COLUMNS FROM for this table for this user. | |||||||||||||||||
| Comment by Arnaud Launay [ 2015-03-19 ] | |||||||||||||||||
|
He was trying to edit in db1. Using is login pass from W.X.Y.Z server:
Seems there might be something wrong in maria after all... | |||||||||||||||||
| Comment by Arnaud Launay [ 2015-03-19 ] | |||||||||||||||||
|
Just tested for completeness, if on the DB server I revoke the select priv:
I get the permission I was hoping of getting:
| |||||||||||||||||
| Comment by Sergei Golubchik [ 2015-03-19 ] | |||||||||||||||||
|
it's an upstream bug. MySQL-5.5 shows the same buggy behavior.
|