From c861967f5b505281e072dfca9dbda8ed17ad246f Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 6 Dec 2023 13:06:52 +0100 Subject: [PATCH] prepare for improved user privilege system --- .../authorization/impl/AuthorizationServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/authorization/impl/AuthorizationServiceImpl.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/authorization/impl/AuthorizationServiceImpl.java index 849837be..bce01d52 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/authorization/impl/AuthorizationServiceImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/authorization/impl/AuthorizationServiceImpl.java @@ -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();