From b688225f962cab8a60949324f25854356913f891 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 7 Feb 2024 12:26:50 +0000 Subject: [PATCH] fix: setup permission(allow only super admin) --- tests/playwright/setup/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/setup/index.ts b/tests/playwright/setup/index.ts index 0d9aeb95ab..df3221734c 100644 --- a/tests/playwright/setup/index.ts +++ b/tests/playwright/setup/index.ts @@ -181,7 +181,7 @@ async function localInit({ try { let response: AxiosResponse; // Login as root user - if (isSuperUser && !isEE()) { + if (isSuperUser && process.env.NC_CLOUD !== 'true') { // required for configuring license key settings response = await axios.post('http://localhost:8080/api/v1/auth/user/signin', { email: `user@nocodb.com`,