Skip to content

Commit

Permalink
Fix: let builder access dev secrets (#8239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraggle authored Oct 25, 2024
1 parent d5000e9 commit d8c36dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/pages/w/[wId]/developers/dev-secrets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit d8c36dc

Please sign in to comment.