Skip to content

Commit 15eb5e8

Browse files
authored
feat: add FOLLOW_USER_SETTING to generalAccess enum (#38)
Context in apify/apify-core#20527.
1 parent 54d559d commit 15eb5e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/apify_shared/consts.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ class StorageGeneralAccess(str, Enum):
384384
This setting overrides the user setting of the storage owner.
385385
"""
386386

387+
#: Respect the user setting of the storage owner (default behavior).
388+
FOLLOW_USER_SETTING = 'FOLLOW_USER_SETTING'
387389
#: Only signed-in users with explicit access can read this storage.
388390
RESTRICTED = 'RESTRICTED'
389391
#: Anyone with a link or the unique storage ID can read this storage.
@@ -398,6 +400,8 @@ class RunGeneralAccess(str, Enum):
398400
This setting overrides the user setting of the run owner.
399401
"""
400402

403+
#: Respect the user setting of the storage owner (default behavior).
404+
FOLLOW_USER_SETTING = 'FOLLOW_USER_SETTING'
401405
#: Only signed-in users with explicit access can read this run.
402406
RESTRICTED = 'RESTRICTED'
403407
#: Anyone with a link or the unique run ID can read this run.

0 commit comments

Comments
 (0)