added GroupsDetailsApiResource and some permissions