added add/remove all to permissions object [ci skip]