feat(Task): implement user ownership for tasks and enhance related services
- Added ownerId field to Task model to associate tasks with users. - Updated TaskService methods to enforce user ownership in task operations. - Enhanced API routes to include user authentication and ownership checks. - Modified DailyService and analytics services to filter tasks by user. - Integrated user session handling in various components for personalized task management.
This commit is contained in:
@@ -64,6 +64,7 @@ export interface Task {
|
||||
tfsTargetBranch?: string;
|
||||
|
||||
assignee?: string;
|
||||
ownerId: string; // ID du propriétaire de la tâche
|
||||
todosCount?: number; // Nombre de todos reliés à cette tâche
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user