Loading...
Searching...
No Matches
stagedata.test.5.sas File Reference

testing that an RLS rule may use a truncated comparison More...

Go to the source code of this file.

Detailed Description

The Row Level Security post edit hook validates every submitted rule by running it through mp_filtercheck against the target table.

Test 1 - a rule using =: ("starts with") on a character column must be accepted, so that the operator can be selected in the dropdown and saved.

Test 2 - the same operator on a numeric column must be rejected, because a truncated comparison has no numeric form: SQL rejects the operand outright, so the rule could never be applied.

Staging does not write the control table, so no rule is left behind.

SAS Macros

@sasjslint {"maxLineLength": 81}

Definition in file stagedata.test.5.sas.