Commit ed4a0c3
committed
feat: add isAdmin field to TeamMember model and update related services
- Introduced an 'isAdmin' field in the TeamMember model to manage admin roles.
- Updated AuthService to set 'isAdmin' to true for new members.
- Modified ProjectManagementService to handle 'isAdmin' during member creation and updates.
- Enhanced frontend components to support the new 'isAdmin' field, including updates to TeamDetailModal and Sidebar for admin-specific actions.
- Updated task management to allow for drag-and-drop reordering with insert index support.1 parent 3046a7d commit ed4a0c3
File tree
13 files changed
+1614
-639
lines changed- backend
- prisma
- src
- auth
- project-management
- dto
- frontend
- src
- components
13 files changed
+1614
-639
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
| |||
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| 720 | + | |
720 | 721 | | |
721 | 722 | | |
722 | 723 | | |
723 | 724 | | |
724 | 725 | | |
725 | | - | |
726 | | - | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
727 | 737 | | |
728 | 738 | | |
729 | 739 | | |
| |||
770 | 780 | | |
771 | 781 | | |
772 | 782 | | |
| 783 | + | |
773 | 784 | | |
774 | 785 | | |
775 | 786 | | |
| |||
800 | 811 | | |
801 | 812 | | |
802 | 813 | | |
| 814 | + | |
803 | 815 | | |
804 | 816 | | |
805 | 817 | | |
| 818 | + | |
806 | 819 | | |
807 | 820 | | |
808 | 821 | | |
| |||
813 | 826 | | |
814 | 827 | | |
815 | 828 | | |
| 829 | + | |
| 830 | + | |
816 | 831 | | |
817 | 832 | | |
818 | 833 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments