fixed authorization bug

This commit is contained in:
anhefti 2019-04-09 10:12:52 +02:00
parent a857e313d5
commit 03970fef7b

View file

@ -146,7 +146,7 @@ public class LmsSetupForm implements TemplateComposer {
"sebserver.lmssetup.form.institution", "sebserver.lmssetup.form.institution",
String.valueOf(lmsSetup.getInstitutionId()), String.valueOf(lmsSetup.getInstitutionId()),
() -> this.resourceService.institutionResource()) () -> this.resourceService.institutionResource())
.readonlyIf(isNotNew)) .readonly(true))
.addField(FormBuilder.text( .addField(FormBuilder.text(
Domain.LMS_SETUP.ATTR_NAME, Domain.LMS_SETUP.ATTR_NAME,
"sebserver.lmssetup.form.name", "sebserver.lmssetup.form.name",