check permission of transfer