From 270ea8738f930ccbc8f459182b2eec54189904e7 Mon Sep 17 00:00:00 2001 From: Marcus Talbott Date: Thu, 12 Dec 2024 11:53:17 -0500 Subject: [PATCH] restore can-compute default to false for azure workspaces --- src/workspaces/ShareWorkspaceModal/Collaborator.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/workspaces/ShareWorkspaceModal/Collaborator.tsx b/src/workspaces/ShareWorkspaceModal/Collaborator.tsx index b27409bfdb..778b4349eb 100644 --- a/src/workspaces/ShareWorkspaceModal/Collaborator.tsx +++ b/src/workspaces/ShareWorkspaceModal/Collaborator.tsx @@ -113,7 +113,10 @@ export const AclInput: React.FC = (props: AclInputProps) => { ...Utils.switchCase( o?.value, ['READER', () => ({ canCompute: false, canShare: false })], - ['WRITER', () => ({ canCompute: hasAccessLevel('OWNER', maxAccessLevel), canShare: false })], + [ + 'WRITER', + () => ({ canCompute: !isAzureWorkspace && hasAccessLevel('OWNER', maxAccessLevel), canShare: false }), + ], ['OWNER', () => ({ canCompute: true, canShare: true })] ), })