Hi @dbergan,
In the sync function, the call to access
will give the user read access.
To give users write access, you can use requireAccess
, requireUser
, requireRole
. If the call to a require function fails, the write operation will be rejected.
This tutorial might also help.
James