From daee8b6ee0b5d226f09a2e66150fd6380e15808f Mon Sep 17 00:00:00 2001 From: Brian Broll Date: Thu, 14 May 2020 09:46:18 -0500 Subject: [PATCH] Only require client if write access required. Closes #1696 --- src/common/viz/ConfigDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/viz/ConfigDialog.js b/src/common/viz/ConfigDialog.js index 3f709d8d2..7d56724f0 100644 --- a/src/common/viz/ConfigDialog.js +++ b/src/common/viz/ConfigDialog.js @@ -198,7 +198,7 @@ define([ // Make sure not modify the global metadata. pluginConfigEntry = JSON.parse(JSON.stringify(pluginConfigEntry)); - if (this._client.getProjectAccess().write === false && pluginConfigEntry.writeAccessRequired === true) { + if (pluginConfigEntry.writeAccessRequired === true && this._client.getProjectAccess().write === false) { pluginConfigEntry.readOnly = true; }