Correct some minor exam supporter rights

This commit is contained in:
anhefti 2021-09-07 13:27:07 +02:00
parent 0f7ef455e8
commit 87e12a998e
2 changed files with 2 additions and 2 deletions

View file

@ -390,7 +390,7 @@ public class ExamForm implements TemplateComposer {
.withExec(this.examCreateClientConfigPopup.exportFunction(
exam.institutionId,
exam.getName()))
.publishIf(() -> writeGrant && readonly)
.publishIf(() -> modifyGrant && readonly)
.newAction(ActionDefinition.EXAM_MODIFY_SEB_RESTRICTION_DETAILS)
.withEntityKey(entityKey)

View file

@ -89,7 +89,7 @@ public class LmsSetupController extends ActivatableEntityController<LmsSetup, Lm
@PathVariable final Long modelId) {
this.authorization.check(
PrivilegeType.MODIFY,
PrivilegeType.READ,
EntityType.LMS_SETUP,
institutionId);