File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ For spatial support there is an extra set of filters that can be applied on geom
553
553
554
554
These filters are based on OGC standards and so is the WKT specification in which the geometry columns are represented.
555
555
556
- ### Authorizing tables and columns
556
+ ### Authorizing tables, columns and records
557
557
558
558
By default all tables are reflected. If you want to restrict access to some tables you may add the 'authorization' middleware
559
559
and define a 'authorization.tableHandler' function that returns 'false' for these tables.
@@ -574,7 +574,7 @@ The above example will restrict access to the 'password' field from the 'users'
574
574
return ($tableName == 'users') ? 'filter=username,neq,admin' : '';
575
575
},
576
576
577
- This will disallow viewing the user records where the username is 'admin'. It allows you to add a filter to every query.
577
+ The above example will disallow viewing the user records where the username is 'admin'. This construct adds a filter to every executed query.
578
578
579
579
### Sanitizing input
580
580
You can’t perform that action at this time.
0 commit comments