HasEditPermission fails while search indexing (used by CreateSource)