DAO permission and Test