Browse Source

fix: setup permission(allow only super admin)

pull/7569/head
Pranav C 9 months ago
parent
commit
b688225f96
  1. 2
      tests/playwright/setup/index.ts

2
tests/playwright/setup/index.ts

@ -181,7 +181,7 @@ async function localInit({
try {
let response: AxiosResponse<any, any>;
// 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`,

Loading…
Cancel
Save