authorization on enabling sync
Merge branch 'master' into tags-master