prepare for improved user privilege system

This commit is contained in:
anhefti 2023-12-06 13:06:52 +01:00
parent f2a0034150
commit c861967f5b

View file

@ -121,6 +121,7 @@ public class AuthorizationServiceImpl implements AuthorizationService {
.andForRole(UserRole.EXAM_ADMIN)
.withInstitutionalPrivilege(PrivilegeType.WRITE)
.andForRole(UserRole.EXAM_SUPPORTER)
.withInstitutionalPrivilege(PrivilegeType.ASSIGNED)
.withOwnerPrivilege(PrivilegeType.MODIFY)
.create();