added toString method to permissions [ci skip]