commit
20fd411e0f
3 changed files with 5 additions and 5 deletions
|
@ -50,7 +50,7 @@ public class OpenEdxSebRestriction {
|
|||
}
|
||||
|
||||
public enum PermissionComponent {
|
||||
ALWAYS_ALLOW_STUFF("AlwaysAllowStaff"),
|
||||
ALWAYS_ALLOW_STAFF("AlwaysAllowStaff"),
|
||||
CHECK_BROWSER_EXAM_KEY("CheckSEBHashBrowserExamKey"),
|
||||
CHECK_CONFIG_KEY("CheckSEBHashConfigKey"),
|
||||
CHECK_BROWSER_EXAM_OR_CONFIG_KEY("CheckSEBHashBrowserExamKeyOrConfigKey");
|
||||
|
@ -189,7 +189,7 @@ public class OpenEdxSebRestriction {
|
|||
.collect(Collectors.toList()));
|
||||
} else {
|
||||
final Collection<String> defaultPermissions = new ArrayList<>();
|
||||
defaultPermissions.add(PermissionComponent.ALWAYS_ALLOW_STUFF.key);
|
||||
defaultPermissions.add(PermissionComponent.ALWAYS_ALLOW_STAFF.key);
|
||||
if (!sebRestrictionData.configKeys.isEmpty()) {
|
||||
defaultPermissions.add(PermissionComponent.CHECK_CONFIG_KEY.key);
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ public class ExamAdminServiceImpl implements ExamAdminService {
|
|||
|
||||
if (lmsSetup.lmsType == LmsType.OPEN_EDX) {
|
||||
final List<String> permissions = Arrays.asList(
|
||||
OpenEdxSebRestriction.PermissionComponent.ALWAYS_ALLOW_STUFF.key,
|
||||
OpenEdxSebRestriction.PermissionComponent.ALWAYS_ALLOW_STAFF.key,
|
||||
OpenEdxSebRestriction.PermissionComponent.CHECK_CONFIG_KEY.key);
|
||||
|
||||
this.additionalAttributesDAO.saveAdditionalAttribute(
|
||||
|
|
|
@ -478,8 +478,8 @@ sebserver.exam.form.sebrestriction.whiteListPaths.PROGRESS.tooltip=The progress
|
|||
sebserver.exam.form.sebrestriction.whiteListPaths.WIKI=Description (Wiki)
|
||||
sebserver.exam.form.sebrestriction.whiteListPaths.WIKI.tooltip=The wikipedia section of the Open edX course
|
||||
|
||||
sebserver.exam.form.sebrestriction.permissions.ALWAYS_ALLOW_STUFF=Stuff Role Always Allowed
|
||||
sebserver.exam.form.sebrestriction.permissions.ALWAYS_ALLOW_STUFF.tooltip=Set this to always allow none-restricted access for a user that has "stuff" privileges.
|
||||
sebserver.exam.form.sebrestriction.permissions.ALWAYS_ALLOW_STAFF=Staff Role Always Allowed
|
||||
sebserver.exam.form.sebrestriction.permissions.ALWAYS_ALLOW_STAFF.tooltip=Set this to always allow none-restricted access for a user that has "staff" privileges.
|
||||
sebserver.exam.form.sebrestriction.permissions.CHECK_BROWSER_EXAM_KEY=Check Browser-Exam-Key
|
||||
sebserver.exam.form.sebrestriction.permissions.CHECK_BROWSER_EXAM_KEY.tooltip=Always check received SEB Browser Exam Key with the defined ones for every request.
|
||||
sebserver.exam.form.sebrestriction.permissions.CHECK_CONFIG_KEY=Check Config-Key
|
||||
|
|
Loading…
Reference in a new issue