From 33f9011264102f3ffba76f6c877f52c8cdeba12d Mon Sep 17 00:00:00 2001 From: juanf <juanf@bsse-bs-dock-dhcp-119.ethz.ch> Date: Thu, 24 May 2018 16:51:57 +0200 Subject: [PATCH] SSDM-6062 : Bugfix, non instance admins can now see the config --- .../html/js/views/SettingsForm/SettingsFormController.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SettingsForm/SettingsFormController.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SettingsForm/SettingsFormController.js index fce3682ddc9..c4f73efa7a0 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SettingsForm/SettingsFormController.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SettingsForm/SettingsFormController.js @@ -21,11 +21,6 @@ function SettingsFormController(mainController, settingsSample, mode) { this._settingsManager = new SettingsManager(this._mainController.serverFacade); this.init = function(views) { - - if (!profile.isAdmin) { - return; - } - // apply settings to copy of profile, even if invalid, for editing var profileToEdit = jQuery.extend(true, {}, profile); this._settingsManager.loadSettingsAndApplyToProfile((function() { -- GitLab