Skip to content

Commit

Permalink
fix(server): incorrect apekeys permission check
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Aug 10, 2024
1 parent 24e9447 commit 77c9cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/api/routes/ape-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const commonMiddleware = [
}),
checkUserPermissions({
criteria: (user) => {
return user.canManageApeKeys ?? false;
return user.canManageApeKeys ?? true;
},
invalidMessage: "You have lost access to ape keys, please contact support",
}),
Expand Down

0 comments on commit 77c9cc4

Please sign in to comment.