Changes for page User Class Diagram
Last modified by Robert Schaub on 2026/02/08 08:22
To version 2.3
edited by Robert Schaub
on 2026/02/08 08:22
on 2026/02/08 08:22
Change comment:
Update document after refactoring.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -FactHarbor.Specification.Diagrams.WebHome 1 +Archive.FactHarbor 2026\.01\.20.Specification.Diagrams.WebHome - Content
-
... ... @@ -1,42 +1,42 @@ 1 1 {{mermaid}} 2 2 classDiagram 3 - class User {4 - +UUID id5 - +String username6 - +String email7 - +Role role8 - +Int reputation9 - +Timestamp created_at10 - +contribute()11 - +flag_issue()12 - +earn_reputation()13 - }14 - class Reader {15 - <<Role>>16 - +browse()17 - +search()18 - +flag_content()19 - }20 - class Contributor {21 - <<Role>>22 - +edit_claims()23 - +add_evidence()24 - +suggest_improvements()25 - +requires: reputation sufficient26 - }27 - class Moderator {28 - <<Role>>29 - +review_flags()30 - +hide_content()31 - +resolve_disputes()32 - +requires: appointed by Governing Team33 - }34 - User --> Reader : default role35 - User --> Contributor : registers + earns reputation36 - User --> Moderator : appointed37 - note for User "Reputation system unlocks permissions progressively"38 - note for Contributor "Reputation sufficient: Full edit access"39 - note for Contributor "Reputation sufficient: Can approve changes"3 + class User { 4 + +UUID id 5 + +String username 6 + +String email 7 + +Role role 8 + +Int reputation 9 + +Timestamp created_at 10 + +contribute() 11 + +flag_issue() 12 + +earn_reputation() 13 + } 14 + class Reader { 15 + <<Role>> 16 + +browse() 17 + +search() 18 + +flag_content() 19 + } 20 + class Contributor { 21 + <<Role>> 22 + +edit_claims() 23 + +add_evidence() 24 + +suggest_improvements() 25 + +requires: reputation sufficient 26 + } 27 + class Moderator { 28 + <<Role>> 29 + +review_flags() 30 + +hide_content() 31 + +resolve_disputes() 32 + +requires: appointed by Governing Team 33 + } 34 + User --> Reader : default role 35 + User --> Contributor : registers + earns reputation 36 + User --> Moderator : appointed 37 + note for User "Reputation system unlocks permissions progressively" 38 + note for Contributor "Reputation sufficient: Full edit access" 39 + note for Contributor "Reputation sufficient: Can approve changes" 40 40 {{/mermaid}} 41 41 42 42 **Simplified flat role structure**: