feat(routines): let each person create a routine for themselves

Open the new-routine action to every member, while keeping assignment to other people and teams limited to managers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-04 19:34:36 +03:30
co-authored by Cursor
parent 5b18749005
commit 78a7d6a68a
6 changed files with 97 additions and 23 deletions
+2
View File
@@ -6261,6 +6261,8 @@ export interface RoutineDto {
entityLink: RoutineEntityLink;
reminderMinutesBefore: number | null;
isActive: boolean;
/** سازندهٔ روتین؛ عضو عادی فقط روتین خودش را ویرایش می‌کند */
createdById: string | null;
recurrenceLabel: string;
/** درصد اجرا در ۳۰ روز اخیر */
executionRate: number | null;