Documents & Newsfeed: Document Service
Contact: Lennard Gerstβ
Group: F2β
π§ Technical Work Areasβ
- Working with environment variables
- User group dependency (central role)
- Relevant parameters:
ID
,Role
,Study group
,Module
,Year
,Field of study
- Relevant parameters:
π External Dependenciesβ
Main dependency on F3β
- User permissions / roles
β Essential for all functions in Documents & Newsfeed
Existing dependencies towards us:β
- From F4: Access to our database for master data management
- From F1: Access to our database for timetable data storage
π Inter-SOS2 Level Dependenciesβ
- Team 4 (DocM Backend, Lennard) β Team 7 (DocM Frontend, Santino)
Shared interfaces for displaying and managing document-based content - Team 7 (Doc Viewer, Santino) β Team 5 (Newsfeed)
API call from Team 7 to Team 5 to show newsfeed data based on user group information
π¬ Abstract File Service (central storage layer)
- All file-related services (documents, newsfeed attachments, application forms) should β whenever possible β use the central Abstract File Service.
- This ensures unified file storage, permission checks, and reusability.
π Team Responsibilitiesβ
Team | Functionality | Dependencies |
---|---|---|
Khalid | User groupβbased Newsfeed | ID, Role, Study group, Module, Year, Field of study |
Santino | User groupβbased Document display | ID, Role, Study group, Module, Year, Field of study |
Lennard | User groupβbased Document tagging + Abstract File Service | ID, Role, Study group, Module, Year |
Josi | User groupβbased Applications | ID, Role, Study group, Module |
(all dealing with files) | Use of Abstract File Service recommended | β |
ποΈ Database Dependenciesβ
- F1: Timetable data
- F4: Master data management
Exposing Informationβ
Document Service (DocM Backend)β
- With User ID and related metadata (
Role
,Study group
,Module
,Year
,Field of study
), user-specific relevant documents can be retrieved. - Documents have tags that filter content based on the user context.
- Example response for a document request:
[
{
"document_id": "doc-uuid",
"title": "Module Handbook WI 2025",
"tags": ["WI", "2025", "Handbook"],
"visibility": {
"role": ["student", "lecturer"],
"study_group": ["WI"],
"year": ["2025"]
},
"uploaded_by": "lecturer-uuid",
"uploaded_at": "2025-05-20T12:45:00Z",
"abstract": "Module descriptions for the academic year 2025"
}
]