From a666ecee50cfb7c221657b4dd849d7a44230cbcb Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 23 Dec 2021 11:21:54 +0530 Subject: [PATCH] add a note about a backup API --- www/common/drive-ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index fcbc6fcf6..1b39995cc 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -3911,6 +3911,8 @@ define([ (function () { // show 'READ-ONLY' when a guest only has view rights if (/\/view\//.test(APP.anonSFHref)) { + // !common.getMetadataMgr().getPrivateData().canEdit + // would accomplish the same thing if this breaks $content.prepend($readOnly.clone()); return; }