Correct some minor exam supporter rights
This commit is contained in:
parent
0f7ef455e8
commit
87e12a998e
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue