[MXS-3323] Database grants with wildcards should be matched using LIKE operator (access denied with default schema) Created: 2020-12-07 Updated: 2021-04-19 Resolved: 2020-12-18 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Authenticator |
| Affects Version/s: | 2.5.5 |
| Fix Version/s: | 2.5.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Claudio Nanni | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Sprint: | MXS-SPRINT-121 |
| Description |
|
As per subject, on MaxScale 2.5.5 (not on 2.4.11) see example. Worth noting the grants use a wildcard for the schema.
|
| Comments |
| Comment by markus makela [ 2020-12-07 ] |
|
Looks like the problem is in the code that does the database name matching to the grants and it doesn't take the wildcards properly into account. |
| Comment by Cuchac [ 2020-12-18 ] |
|
Hello, |