File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def check_upload_permissions(volume_name: str):
2525 volume = w .volumes .read (name = volume_name )
2626 current_user = w .current_user .me ()
2727 grants = w .grants .get_effective (
28- securable_type = SecurableType . VOLUME ,
28+ securable_type = "volume" ,
2929 full_name = volume .full_name ,
3030 principal = current_user .user_name ,
3131 )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def check_upload_permissions(volume_name: str):
2222 volume = w .volumes .read (name = volume_name )
2323 current_user = w .current_user .me ()
2424 grants = w .grants .get_effective (
25- securable_type = SecurableType . VOLUME ,
25+ securable_type = "volume" ,
2626 full_name = volume .full_name ,
2727 principal = current_user .user_name ,
2828 )
You can’t perform that action at this time.
0 commit comments