From 970101d5dc8b823f6e4f8f3865398e9e6bc5d633 Mon Sep 17 00:00:00 2001 From: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com> Date: Wed, 13 Jul 2022 14:11:02 -0700 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Added=20the=20static-cre?= =?UTF-8?q?dentials=20feature=20flag=20(#1187)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The static-credentials feature flag was added and set to true only for dev and test modes. ✅ Closes: ICU-5203 --- ui/admin/config/environment.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/admin/config/environment.js b/ui/admin/config/environment.js index d198678ce..8b479f0ba 100644 --- a/ui/admin/config/environment.js +++ b/ui/admin/config/environment.js @@ -15,6 +15,7 @@ const featureEditions = { filter: true, 'credential-store': true, 'managed-groups': true, + 'static-credentials': false, }, }; featureEditions.enterprise = { @@ -122,6 +123,7 @@ module.exports = function (environment) { // Enable features in development ENV.featureFlags['ssh-target'] = false; + ENV.featureFlags['static-credentials'] = true; } if (environment === 'test') { @@ -141,6 +143,7 @@ module.exports = function (environment) { // Enable tests for development features ENV.featureFlags['ssh-target'] = true; + ENV.featureFlags['static-credentials'] = true; } if (environment === 'production') {