Roles - THM-ATLAS/spring-backend GitHub Wiki
Role types
Global roles
Roles assigned to a user globally A user may have several roles
Module roles
Roles assigned to a user in a specific module A user may have several roles
Users may enroll themselves as a student or a teacher may add them with a role of their choosing.
Guest (ID: 5)
Global
For users who cannot / do not want to register with the THM user ID.
Manually registered users will be assigned the role Guest.
Can only see public modules and public exercises in public modules.
Student (ID: 4)
Global
For students of the THM.
Login via LDAP with username and password as given by the THM.
Student role is assigned to students when they first log in.
Can enroll in all modules to see private assignments.
Module
Regardless of global role, anyone assigned to a module will be assigned the Student role
Can submit solutions fpr exercises
Tutor (ID: 3)
Module
This role is only available in modules and can be (un)assigned to a student by the module's teacher.
Teacher (ID: 2)
Global
For teachers of the THM.
Currently, the role has to be assigned by an admin. In the future, this should be automatically done when a teacher first logs in via LDAP.
Can create modules
Module
The role can be (un)assigned by the teacher of a module to local students or tutors Can edit module settings Can create tasks in modules
Admin (ID: 1)
Global
The role can be added to users via the database or by another admin.
Can add Global roles to other users.
Has all permissions.