feat: inplement auth for cases

This commit is contained in:
Takeshi Kimata
2024-06-06 11:58:40 +09:00
parent 145f9fed68
commit f9cf3ef209
14 changed files with 238 additions and 173 deletions

View File

@@ -103,7 +103,7 @@ function verifyVisibleMiddleware(sequelize) {
],
});
if (!project) {
return res.status(404).send('Project not found');
return false;
}
// if project is public, everyone can see