revert permission explicit sync and its tests