Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
1.1.0
-
None
Description
I'm not too sure what's going on here, but it seems like my on_queries clause is simply being ignored. I have on_queries delete, but the filter is blocking my select statement.
[Database Firewall]
|
type=filter
|
module=dbfwfilter
|
rules=/home/skysql/dbfwfilter_rules.txt
|
[skysql@max1 ~]$ cat /home/skysql/dbfwfilter_rules.txt
|
rule testrule deny no_where_clause on_queries delete
|
users kolbe@% testuser@% match strict_all rules testrule
|
[root@max1 ~]# mysql -h 192.168.30.38 -P4006 -u kolbe -ppass -e 'select * from test.t1'
|
ERROR 1141 (HY000) at line 1: Access denied for user 'kolbe'@'192.168.30.38': Required WHERE/HAVING clause is missing.
|