From abcf1167340f9f411e7712d11f2110625b0938d8 Mon Sep 17 00:00:00 2001 From: srichman333 Date: Thu, 4 May 2023 15:45:50 -0400 Subject: simple checkbox so that users can choose to override more private acl docs --- src/client/views/PropertiesView.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/client/views/PropertiesView.tsx') diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index 984c2dc04..94a6d5639 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -368,14 +368,7 @@ export class PropertiesView extends React.Component { @undoBatch changePermissions = (e: any, user: string) => { const docs = (SelectionManager.Views().length < 2 ? [this.selectedDoc] : SelectionManager.Views().map(dv => dv.props.Document)).filter(doc => doc).map(doc => (this.layoutDocAcls ? doc : DocCast(doc)[DataSym])); - if (user=="Public"){ - // docs[0]['acl-' +user] = e.currentTarget.value as SharingPermissions; - SharingManager.Instance.shareFromPropertiesSidebar(user, e.currentTarget.value as SharingPermissions, docs); - } - else{ - - SharingManager.Instance.shareFromPropertiesSidebar(user, e.currentTarget.value as SharingPermissions, docs); - } + SharingManager.Instance.shareFromPropertiesSidebar(user, e.currentTarget.value as SharingPermissions, docs); }; /** -- cgit v1.2.3-70-g09d2