Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
2.4.19
-
None
-
centos 7
Description
According to documentation here:
https://mariadb.com/kb/en/mariadb-maxscale-24-cache/#security_1
In the Security section, it shows an example and says:
"That can be prevented, by explicitly declaring in the rules that the caching should be applied to alice only."
However, in implementation, Each json stanza is applied as an OR condition.
For Example:
 |
{
|
"store": [ |
{
|
"attribute": "database", |
"op": "=", |
"value": "marketing" |
},
|
{
|
"attribute": "table", |
"op": "=", |
"value": "flyer_data" |
}
|
],
|
"use": [ |
{
|
"attribute": "user", |
"op": "=", |
"value": "'jqgrid'@'%'" |
}
|
]
|
}
|
Matches ANY condition and not ALL as expected.