public function delete(EntityInterface $group)
    {
        if (!is_a($group, self::ACCESS_ENTITY_TYPE)) {
            throw new Exception('The given entity (' . get_class($group) . ') is not compatible with this data source (' . self::class . '.');
        }
        
        // If the uuid does not exists we cannot delete the group
        if (!$this->accessControlManager->hasAccessEntityForUuid(self::ACCESS_ENTITY_TYPE, $group->getUuid())) {
            throw new Exception('Cannot update the group. Group does not exist.');
        }
    
        // Delete the access entity
        return $this->accessControlManager->deleteAccessEntity($group);
    }