edit authority checking