Skip to content

Commit dc9324e

Browse files
committed
Improve docs
1 parent a0f2a96 commit dc9324e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ For spatial support there is an extra set of filters that can be applied on geom
553553

554554
These filters are based on OGC standards and so is the WKT specification in which the geometry columns are represented.
555555

556-
### Authorizing tables and columns
556+
### Authorizing tables, columns and records
557557

558558
By default all tables are reflected. If you want to restrict access to some tables you may add the 'authorization' middleware
559559
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'
574574
return ($tableName == 'users') ? 'filter=username,neq,admin' : '';
575575
},
576576

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.
578578

579579
### Sanitizing input
580580

0 commit comments

Comments
 (0)