From 9fc2433b44772e0e0a85173932ccbffd2d32a406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=C3=A1=C5=A1=20Poto=C4=8Dek?= Date: Mon, 14 Apr 2025 09:09:36 +0200 Subject: [PATCH] feat: add FOLLOW_USER_SETTING to generalAccess enum --- src/apify_shared/consts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apify_shared/consts.py b/src/apify_shared/consts.py index 435a3b6..5b466dd 100644 --- a/src/apify_shared/consts.py +++ b/src/apify_shared/consts.py @@ -384,6 +384,8 @@ class StorageGeneralAccess(str, Enum): This setting overrides the user setting of the storage owner. """ + #: Respect the user setting of the storage owner (default behavior). + FOLLOW_USER_SETTING = 'FOLLOW_USER_SETTING' #: Only signed-in users with explicit access can read this storage. RESTRICTED = 'RESTRICTED' #: Anyone with a link or the unique storage ID can read this storage. @@ -398,6 +400,8 @@ class RunGeneralAccess(str, Enum): This setting overrides the user setting of the run owner. """ + #: Respect the user setting of the storage owner (default behavior). + FOLLOW_USER_SETTING = 'FOLLOW_USER_SETTING' #: Only signed-in users with explicit access can read this run. RESTRICTED = 'RESTRICTED' #: Anyone with a link or the unique run ID can read this run.