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
553553
554554These 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
558558By default all tables are reflected. If you want to restrict access to some tables you may add the 'authorization' middleware
559559and 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
You can’t perform that action at this time.
0 commit comments