[MDEV-29752] SHOW GRANTS for PUBLIC should work for all users Created: 2022-10-10 Updated: 2022-11-01 Resolved: 2022-10-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Affects Version/s: | 10.11.0 |
| Fix Version/s: | 10.11.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vicențiu Ciorbaru | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Any user can see public's grants by running their own SHOW GRANTS command. This means that SHOW GRANTS FOR PUBLIC should also be allowed. |
| Comments |
| Comment by Oleksandr Byelkin [ 2022-10-10 ] | |||||||||||||||||||||||||||||||||||
|
I tried to repeat and here it is:
test suite is here:
| |||||||||||||||||||||||||||||||||||
| Comment by Vicențiu Ciorbaru [ 2022-10-10 ] | |||||||||||||||||||||||||||||||||||
|
The bug is present in 85b939ae35c74d458916ff5b3f0da8045fc16522, which is the commit used for preview-10.11-preview release. It was later fixed in a follow-up commit in bb-10.11-
The test case was not present however, so it was added in bb-10.11- |