To restrict access to a subset of data, just save the limitations inside the Auth record and update the query
to check it: ::
form.parameter.restToken={{SELECT a.token FROM Auth AS a WHERE a.token='{{Authorization:C:alnumx}}'}}
form.parameter.restSqlList={{!SELECT p.id, p.name, p.email FROM Person AS p, Auth AS a WHERE a.token='{{Authorization:C:alnumx}}' AND a.attribute=p.attribute}}
form.parameter.restSqlData={{!SELECT p.* FROM Person AS p, Auth AS a WHERE a.token='{{Authorization:C:alnumx}}' AND a.attribute=p.attribute AND p.id='{{r:T0}}' }}
If authorization is denied, the request will be answered with a delay of 3 seconds (configured via securityFailedAuthDelay).
.. _applicationTest:
.. _applicationTest:
...
@@ -7689,7 +7735,7 @@ Application Test
...
@@ -7689,7 +7735,7 @@ Application Test
With a framework like https://www.seleniumhq.org/ it'spossibletoplayandverifyunattendedtestcases.
With a framework like https://www.seleniumhq.org/ it'spossibletoplayandverifyunattendedtestcases.
To assist such frameworks and to make the tests reliable, an individual tag might be assigned to elements which have to