change method permission