roles - THM-ATLAS/spring-backend GitHub Wiki
Roles assigned to a user globally A user may have several 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.
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.
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.
Regardless of global role, anyone assigned to a module will be assigned the Student role
Can submit solutions fpr exercises
This role is only available in modules and can be (un)assigned to a student by the module's teacher.
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
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
The role can be added to users via the database or by another admin.
Can add Global roles to other users.
Has all permissions.