[MDEV-13235] CLONE - Granted as a whole to roles, databases are not shown in SHOW DATABASES Created: 2017-07-03 Updated: 2017-07-03 Resolved: 2017-07-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Affects Version/s: | 10.1.14, 10.1.17, 10.1.22, 10.1.24 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Thierry Laurier | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
If a role is granted on the whole database (SELECT ON db.* TO role1;), and a user is granted this role (GRANT role1 TO user1;), then that databases is not listed by SHOW DATABASES;, but still can be used (set as default, SHOW TABLES IN ..., DESCRIBE ...) Test case:
Expected result (hopefully):
Failing:
|
| Comments |
| Comment by Thierry Laurier [ 2017-07-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Not resolved on version 10.1.22, 10.1.24
fix patch in issues is not in source of 10.1.25 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2017-07-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
10.1.25 is not released yet. Your tests show "10.1.24" were the bug is definitely not yet fixed — it's fixed in 10.0.32 and 10.1.25. |