diff --git a/services/static-webserver/client/source/class/osparc/desktop/preferences/window/ShowAPIKey.js b/services/static-webserver/client/source/class/osparc/desktop/preferences/window/ShowAPIKey.js index 8154c1f6296..d75fde8a1f9 100644 --- a/services/static-webserver/client/source/class/osparc/desktop/preferences/window/ShowAPIKey.js +++ b/services/static-webserver/client/source/class/osparc/desktop/preferences/window/ShowAPIKey.js @@ -76,7 +76,7 @@ qx.Class.define("osparc.desktop.preferences.window.ShowAPIKey", { const hBox = this.__createEntry(title); if (label) { // partially hide the key and secret - hBox.getChildren()[1].setValue(label.substring(1, 8) + "****") + hBox.getChildren()[1].setValue(label.substring(0, 8) + "****") } return hBox; }, diff --git a/services/static-webserver/client/source/class/osparc/product/Utils.js b/services/static-webserver/client/source/class/osparc/product/Utils.js index d636a3258f9..7b0235c2e26 100644 --- a/services/static-webserver/client/source/class/osparc/product/Utils.js +++ b/services/static-webserver/client/source/class/osparc/product/Utils.js @@ -264,6 +264,10 @@ qx.Class.define("osparc.product.Utils", { }, showPreferencesTokens: function() { + if (osparc.data.Permissions.getInstance().isTester()) { + return true; + } + if (this.isProduct("s4llite") || this.isProduct("tis") || this.isProduct("tiplite")) { return false; }