Remove duplication of reset permission check