projects
data model
classDiagram
direction BT
class Project {
<< SensitiveMixin, MPTTModel >>
+ CharField name
+ TextField description
+ SlugField slug
+ ForeignKey created_by
+ DateTimeField created_at
+ ForeignKey changed_by
+ DateTimeField changed_at
+ ManyToManyField users ~through="ProjectUserRelationship"~
+ ManyToManyField groups ~through="ProjectGroupRelationship"~
+ TreeForeignKey parent ~null==true~
}
Project "*" ..* "0,1" Project : parent
Project "*" ..* "0,1" User : created_by
Project "*" ..* "0,1" User : changed_by
class ProjectGroupRelationship {
+ ForeignKey project
+ ForeignKey group
+ BooleanField can_edit
}
ProjectGroupRelationship "*" --* "1" Project : project
ProjectGroupRelationship "*" --* "1" Group : group
class ProjectUserRelationship {
+ ForeignKey project
+ ForeignKey user
+ BooleanField can_edit
}
ProjectUserRelationship "*" --* "1" Project : project
ProjectUserRelationship "*" --* "1" User : user
class ProjectTopic {
+ CharField name
}
ProjectTopic "0,1" o-- "*" Project : topic
Permissions
Here are the User stories in place for project permissions:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
Last update:
October 4, 2023