Trouble with authorization in sync function

Mostly what I read on the internet says to use userCtx.name == “something”.

Then you’ve been reading about CouchDB validation functions, not Sync Gateway sync functions :slight_smile: They are not the same thing.