renamed allowed option to sourceOrigin