public function canEdit(GroupableInterface $groupable, TokenInterface $token): bool
    {
        $user = $token->getUser();
        foreach ($groupable->getGroups() as $group) {
            if ($this->decision_manager->decide($token, ['GROUP_ROLE_EDITOR'], $group)) {
                return true;
            }
        }

        return false;
    }