Add reset permission feature