diff --git a/frontend/src/components/projects/ProjectDetail.tsx b/frontend/src/components/projects/ProjectDetail.tsx index 89d7022..ed036c2 100644 --- a/frontend/src/components/projects/ProjectDetail.tsx +++ b/frontend/src/components/projects/ProjectDetail.tsx @@ -146,7 +146,6 @@ export default function ProjectDetail() { const isShared = project ? project.user_id !== currentUserId : false; // For now, if they can see the project but don't own it, check if they can edit // The backend enforces actual permissions — this is just UI gating - const canEdit = isOwner; // Members with create_modify can also edit tasks (handled per-task) const canManageProject = isOwner; // Delta polling for real-time sync — only for shared projects (P-04) @@ -570,7 +569,7 @@ export default function ProjectDetail() { {/* Read-only banner for viewers */} - {isShared && !canEdit && ( + {isShared && !canEditTasks && (
You have view-only access to this project