From d8c36dc13302e48006119fb48b215023d9c2d902 Mon Sep 17 00:00:00 2001 From: Sebastien Flory Date: Fri, 25 Oct 2024 12:30:18 +0200 Subject: [PATCH] Fix: let builder access dev secrets (#8239) --- front/pages/w/[wId]/developers/dev-secrets.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/pages/w/[wId]/developers/dev-secrets.tsx b/front/pages/w/[wId]/developers/dev-secrets.tsx index 7ff66e133b51..c4c1765428cb 100644 --- a/front/pages/w/[wId]/developers/dev-secrets.tsx +++ b/front/pages/w/[wId]/developers/dev-secrets.tsx @@ -31,7 +31,7 @@ export const getServerSideProps = withDefaultUserAuthRequirements<{ const owner = auth.getNonNullableWorkspace(); const subscription = auth.getNonNullableSubscription(); - if (!auth.isAdmin()) { + if (!auth.isBuilder()) { return { notFound: true, };