diff --git a/app/routes/hammer.tsx b/app/routes/hammer.tsx index 504c9a7..41ba7c1 100644 --- a/app/routes/hammer.tsx +++ b/app/routes/hammer.tsx @@ -28,7 +28,10 @@ export async function loader({ context }: { context: RequestContext }) { status: 401, }); - if (!(currentUser.permissions & (1 << 5))) + if ( + !(currentUser.permissions & (1 << 5)) && + !(currentUser.permissions & (1 << 8)) + ) throw new Response(null, { status: 403, });