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(
|
.withExec(this.examCreateClientConfigPopup.exportFunction(
|
||||||
exam.institutionId,
|
exam.institutionId,
|
||||||
exam.getName()))
|
exam.getName()))
|
||||||
.publishIf(() -> writeGrant && readonly)
|
.publishIf(() -> modifyGrant && readonly)
|
||||||
|
|
||||||
.newAction(ActionDefinition.EXAM_MODIFY_SEB_RESTRICTION_DETAILS)
|
.newAction(ActionDefinition.EXAM_MODIFY_SEB_RESTRICTION_DETAILS)
|
||||||
.withEntityKey(entityKey)
|
.withEntityKey(entityKey)
|
||||||
|
|
|
@ -89,7 +89,7 @@ public class LmsSetupController extends ActivatableEntityController<LmsSetup, Lm
|
||||||
@PathVariable final Long modelId) {
|
@PathVariable final Long modelId) {
|
||||||
|
|
||||||
this.authorization.check(
|
this.authorization.check(
|
||||||
PrivilegeType.MODIFY,
|
PrivilegeType.READ,
|
||||||
EntityType.LMS_SETUP,
|
EntityType.LMS_SETUP,
|
||||||
institutionId);
|
institutionId);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue