diff --git a/services/web/server/src/simcore_service_webserver/users/api.py b/services/web/server/src/simcore_service_webserver/users/api.py index ff9ade31ac7..623d4f44396 100644 --- a/services/web/server/src/simcore_service_webserver/users/api.py +++ b/services/web/server/src/simcore_service_webserver/users/api.py @@ -52,19 +52,20 @@ "description": "description", "thumbnail": "thumbnail", "accessRights": "access_rights", - "inclusionRules": "inclusion_rules", } def _convert_groups_db_to_schema( db_row: RowProxy, *, prefix: str | None = "", **kwargs ) -> dict: + # NOTE: Deprecated. has to be replaced with converted_dict = { k: db_row[f"{prefix}{v}"] for k, v in _GROUPS_SCHEMA_TO_DB.items() if f"{prefix}{v}" in db_row } converted_dict.update(**kwargs) + converted_dict["inclusionRules"] = {} return converted_dict