Skip to content

Commit b5755df

Browse files
committed
adds webserver trash
1 parent 125a290 commit b5755df

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

services/web/server/src/simcore_service_webserver/application_settings.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,18 +271,27 @@ class ApplicationSettings(BaseCustomSettings, MixinLoggingSettings):
271271
WEBSERVER_CLUSTERS: bool = False
272272
WEBSERVER_DB_LISTENER: bool = True
273273
WEBSERVER_FOLDERS: bool = True
274-
WEBSERVER_WORKSPACES: bool = True
275274
WEBSERVER_GROUPS: bool = True
276275
WEBSERVER_META_MODELING: bool = True
277276
WEBSERVER_NOTIFICATIONS: bool = Field(default=True)
278277
WEBSERVER_PRODUCTS: bool = True
278+
WEBSERVER_PROFILING: bool = False
279279
WEBSERVER_PUBLICATIONS: bool = True
280280
WEBSERVER_REMOTE_DEBUG: bool = True
281281
WEBSERVER_SOCKETIO: bool = True
282282
WEBSERVER_TAGS: bool = True
283+
WEBSERVER_TRASH: Annotated[
284+
bool,
285+
Field(
286+
description="Currently only used to enable/disable front-end",
287+
validation_alias=AliasChoices(
288+
"WEBSERVER_TRASH", "WEBSERVER_DEV_FEATURES_ENABLED"
289+
),
290+
),
291+
] = False
283292
WEBSERVER_VERSION_CONTROL: bool = True
284293
WEBSERVER_WALLETS: bool = True
285-
WEBSERVER_PROFILING: bool = False
294+
WEBSERVER_WORKSPACES: bool = True
286295

287296
#
288297
WEBSERVER_SECURITY: bool = Field(
@@ -376,6 +385,7 @@ def _get_disabled_public_plugins(self) -> list[str]:
376385
"WEBSERVER_META_MODELING",
377386
"WEBSERVER_PAYMENTS",
378387
"WEBSERVER_SCICRUNCH",
388+
"WEBSERVER_TRASH",
379389
"WEBSERVER_VERSION_CONTROL",
380390
}
381391
return [_ for _ in public_plugin_candidates if not self.is_enabled(_)]

0 commit comments

Comments
 (0)