mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 03:45:41 +00:00
test: skip sso-client delete in reset if not super admin user
This commit is contained in:
@@ -210,7 +210,7 @@ async function localInit({
|
||||
// console.log(process.env.TEST_WORKER_INDEX, process.env.TEST_PARALLEL_INDEX);
|
||||
|
||||
// delete sso-clients
|
||||
if (isEE() && api['ssoClient']) {
|
||||
if (isEE() && api['ssoClient'] && isSuperUser) {
|
||||
const clients = await api.ssoClient.list();
|
||||
for (const client of clients.list) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user