You may have experienced using the Quick Sync feature and seeing it disabled when saving your changes in the app editor.
This is because Quick Sync can work only with the most simple Security filters expressions.
I ran a serie of tests to push the limit as further as possible.
Here is (by now) which expressions work, and which expression do not.
I may update this post in the future according to AppSheet team’s great achievements ![]()
Security filter expressions compatible with the use of Quick Sync
OR() with USEREMAIL() and USERROLE() :
OR(
USEREMAIL()=[email],
USERROLE()="Admin"
)
OR() simple with two columns
OR(
[email]=USEREMAIL(),
[role]="Admin"
)
OR() with two values
OR(
USEREMAIL()=[key],
USEREMAIL()="t@t.t"
)
OR() and AND() nested
OR(
USEREMAIL()=[key],
AND(
USERROLE()="Admin",
USEREMAIL()="t@t.t"
)
)
CONTAINS simple:
CONTAINS(USEREMAIL(),[key])
IN simple
IN([email],
LIST("a@a.a","b@b.b")
)
Security filter expressions which cause Quick Sync to be disabled
-
LOOKUP() expressions
-
SELECT() expressions
-
Dereference expressions, such as:
[user].[role]="admin"
EDIT
Updating with @MMMiles 's contribution - thanks !