Skip to content

Commit

Permalink
Merge pull request #2608 from Infisical/revert-2557-feat/permission-p…
Browse files Browse the repository at this point in the history
…hase-2

Revert "Permission phase 2"
  • Loading branch information
maidul98 authored Oct 17, 2024
2 parents 3d938ea + 8b9244b commit 38d8b14
Show file tree
Hide file tree
Showing 100 changed files with 1,566 additions and 3,351 deletions.
22 changes: 4 additions & 18 deletions backend/e2e-test/routes/v3/secret-reference.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ describe("Secret expansion", () => {
}
];

for (const secret of secrets) {
// eslint-disable-next-line no-await-in-loop
await createSecretV2(secret);
}
await Promise.all(secrets.map((el) => createSecretV2(el)));

const expandedSecret = await getSecretByNameV2({
environmentSlug: seedData1.environment.slug,
Expand Down Expand Up @@ -126,10 +123,7 @@ describe("Secret expansion", () => {
}
];

for (const secret of secrets) {
// eslint-disable-next-line no-await-in-loop
await createSecretV2(secret);
}
await Promise.all(secrets.map((el) => createSecretV2(el)));

const expandedSecret = await getSecretByNameV2({
environmentSlug: seedData1.environment.slug,
Expand Down Expand Up @@ -196,11 +190,7 @@ describe("Secret expansion", () => {
}
];

for (const secret of secrets) {
// eslint-disable-next-line no-await-in-loop
await createSecretV2(secret);
}

await Promise.all(secrets.map((el) => createSecretV2(el)));
const secretImportFromProdToDev = await createSecretImport({
environmentSlug: seedData1.environment.slug,
workspaceId: projectId,
Expand Down Expand Up @@ -285,11 +275,7 @@ describe("Secret expansion", () => {
}
];

for (const secret of secrets) {
// eslint-disable-next-line no-await-in-loop
await createSecretV2(secret);
}

await Promise.all(secrets.map((el) => createSecretV2(el)));
const secretImportFromProdToDev = await createSecretImport({
environmentSlug: seedData1.environment.slug,
workspaceId: projectId,
Expand Down
Loading

0 comments on commit 38d8b14

Please sign in to comment.