Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

more accurate responses

Blue Mouse703058756608
diff --git a/src/project/project.service.ts b/src/project/project.service.ts
index 78170ad06..14baf664e 100644
--- a/src/project/project.service.ts
+++ b/src/project/project.service.ts
@@ -113,7 +113,7 @@ export class ProjectService {
if (project.public || uid === project.admin.id || _findIndex(project.share, ({ user }) => user?.id === uid) !== -1) {
return
} else {
- throw new ForbiddenException('You are not allowed to access this project')
+ throw new ForbiddenException('You are not allowed to view this project')
}
}
@@ -121,7 +121,7 @@ export class ProjectService {
if (uid === project.admin.id || _includes(roles, UserType.ADMIN) || _findIndex(project.share, (share) => share.user?.id === uid && share.role === Role.admin) !== -1) {
return
} else {
- throw new ForbiddenException('You are not allowed to access this project')
+ throw new ForbiddenException('You are not allowed to manage this project')
}
}