Wiki source code of Review & Data Use

Last modified by Robert Schaub on 2025/12/18 12:03

Show last authors
1 = Review & Data Use =
2 This page describes the Review & Data Use model, defining User roles and how review actions are logged.
3 == 1. User & Role Concepts ==
4 * **USER**: Base entity for all users (human or technical).
5 * **TECHNICAL_USER**: Strictly technical identities (services, federation components, background jobs).
6 * **CONTRIBUTING_USER**: Users that can contribute content (claims, scenarios, evidence).
7 ** **TRUSTED_CONTRIBUTOR**: Additional trust / certification properties.
8 ** **REVIEWER**: Can perform review actions on versioned entities.
9 ** **EXPERT**: Contributor with domain‑specific expertise / higher authority.
10 * **FEDERATION_NODE**: Technical entity representing a participating node in the federation.
11 * **FEDERATION_ADMIN**: Administers one or more federation nodes; not necessarily a content contributor.
12 == 2. Review Actions ==
13 The system logs every significant action:
14 * **REVIEW_ACTION** logs *who* did *what* on *which* versioned entity.
15 * Fields: ``ReviewActionID``, ``UserID``, ``EntityType``, ``EntityVersionID``, ``ActionType``, ``Timestamp``.
16 * Each entry targets a specific **VERSIONED** entity (e.g., ClaimVersion, ScenarioVersion).
17 * **Claim Clusters** may also be targets of review actions (e.g., curation or moderation).
18 == 3. Review & Data Use ERD ==
19 === 3.1 User Roles ===
20 {{include reference="FactHarbor.Specification.Diagrams.Human User Roles.WebHome"/}}
21 {{include reference="FactHarbor.Specification.Diagrams.Technical and System Users.WebHome"/}}
22 == 4. User Class Diagram ==
23 {{include reference="FactHarbor.Specification.Diagrams.User Class Diagram.WebHome"/}}