Changes for page User Class Diagram

Last modified by Robert Schaub on 2026/02/08 08:22

From version 2.1
edited by Robert Schaub
on 2025/12/24 21:53
Change comment: Imported from XAR
To version 1.1
edited by Robert Schaub
on 2025/12/18 12:03
Change comment: Imported from XAR

Summary

Details

Page properties
Content
... ... @@ -1,42 +1,42 @@
1 1  {{mermaid}}
2 2  classDiagram
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"
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**: