From 0cc738122aef8f99e6887733c2b84d389fa5340c Mon Sep 17 00:00:00 2001 From: Nidhi Date: Thu, 19 Aug 2021 09:43:32 +0530 Subject: [PATCH] Enable JS editor by email (#6701) --- .../src/main/resources/features/init-flags.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/server/appsmith-server/src/main/resources/features/init-flags.yml b/app/server/appsmith-server/src/main/resources/features/init-flags.yml index fdeff0379f..c08ffbbb60 100644 --- a/app/server/appsmith-server/src/main/resources/features/init-flags.yml +++ b/app/server/appsmith-server/src/main/resources/features/init-flags.yml @@ -11,16 +11,16 @@ ff4j: - uid: JS_EDITOR enable: true - description: Should the JS Editor be visible? + description: Enable JS editor by email domain of the user flipstrategy: - class: com.appsmith.server.featureflags.strategies.AppsmithUserStrategy + class: com.appsmith.server.featureflags.strategies.EmailBasedRolloutStrategy param: - - name: requiredKey - value: requiredValue + - name: emailDomains + value: appsmith.com,moolya.com - uid: COMMENT enable: true - description: Enable this feature based on email ID of the user + description: Enable collaboration by email domain of the user flipstrategy: class: com.appsmith.server.featureflags.strategies.EmailBasedRolloutStrategy param: