[MDEV-12790] Invalid role error message is not descriptive if you were trying to add grants Created: 2017-05-12 Updated: 2020-12-01 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Affects Version/s: | 10.0, 10.1, 10.2 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Michaël de groot | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Description |
|
Hi, When trying to add grants (GRANT SUPER ON *.*) but forgetting the *.* I get an error about invalid roles:
This is not very descriptive. In my opinion, this would be better:
|
| Comments |
| Comment by Elena Stepanova [ 2017-05-12 ] | |||||
|
That would be a wild guess. super is a valid name for a role, the only problem is that you don't have it defined.
|