public function getPermissions($entity, $objectId)
    {
        $this->getLogger()->info('Getting Permissions arrays for Entity ' . $entity . ' with ID ' . $objectId);
        $response = $this->doGet('/user/permissions/' . $entity . '/' . $objectId);
        $entries = [];

        foreach ($response as $item) {
            $entries[] = clone $this->hydrate($item);
        }

        return $entries;
    }