docu
This commit is contained in:
parent
cd425f0c81
commit
63f8358107
1 changed files with 98 additions and 7 deletions
|
@ -6,7 +6,7 @@ Leraning Management System Setup
|
|||
Overview
|
||||
--------
|
||||
|
||||
To be able to connect to a learning management system (LMS) and view and use the courses provided by a LMS is an essential feature of the SEB Server.
|
||||
To be able to connect to a learning management system (LMS) and view and manage the courses provided by a LMS is an essential feature of the SEB Server.
|
||||
To create an exam or e-assessment, based on a course existing on a LMS, to use with SEB we need some data of this course from the LMS like,
|
||||
start- end-time, name and others. If we furthermore want to be able to automatically restrict the course for SEB access only we need to have proper
|
||||
integration API's in place on both sides, the LMS and the SEB Server. This integration is separated into two main features so far. This are:
|
||||
|
@ -34,15 +34,53 @@ If the automated SEB restriction functionality is available for a LMS depends on
|
|||
For more information about known SEB integration plugins that are supported by the SEB Server see :ref:`lms-setup-rest-plugin-label`
|
||||
|
||||
Regardless if a supported LMS is missing the SEB integration plugin installation, the LMS can be used with the Course API and a exam
|
||||
setup will be possiblie but without automated SEB restriction feature.
|
||||
setup will be possible but without automated SEB restriction feature.
|
||||
|
||||
To be able connect to an LMS from SEB Server, we need to create an API access-acount on the LMS side that can be used by the SEB Server to
|
||||
access the API of the LMS. How to to this for the different supported types of LMS see ref:`lms-api-account-label`
|
||||
access the API of the LMS. How to do this for the different supported types of LMS see ref:`lms-api-account-label`
|
||||
After such an account was created the account credentials, username and password, can be used by the SEB Server to connect to the LMS.
|
||||
Therefore we need to create a LMS Setup on the SEB Server.
|
||||
|
||||
.. image:: images/lmssetup/new.png
|
||||
:align: center
|
||||
:target: https://raw.githubusercontent.com/SafeExamBrowser/seb-server/master/docs/images/lmssetup/new.png
|
||||
|
||||
A SEB Server administrator role will be able to see the institution to which the LMS Setup belongs to while an institutional administrator
|
||||
is only able to see and create LMS Setup for its own institution. The name of the LMS Setup should be unique and is to identify a LMS
|
||||
SEB Server internally. Use the "Type" selector to specify the type of the LMS to bind to the SEB Server within the LMS Setup. Currently supported are:
|
||||
|
||||
- Testing: This is for testing purposes only and can be used to mock a LMS to test exam settings. This type provides some mock-up courses within the
|
||||
LMS API of the SEB Server that can be seen in the LMS Exam Lookup once the LMS text setup is active. This mock-up courses can be imported and configuraed
|
||||
as exams like they would exist. But note the a SEB client that is trying to connect to such a course would not be able to connect to the LMS since it
|
||||
is not existing. But a SEB client is able to download the defined exam configuration for testing.
|
||||
- Open edX: This type is to bind an existing `Open edX <https://open.edx.org/>`_ LMS system that is available on the Internet or intranet. The SEB
|
||||
Server tries to make use of the described API's of the Open edX system and if the automated SEB restriction feature wanted to be used the
|
||||
:ref:`lms-setup-edx-plugin-label` must be installed properly within the LMS.
|
||||
- Moodle: This type is to bind an existing `Moodle <https://moodle.org//>`_ LMS system that is available on the Internet or intranet. The SEB
|
||||
Server tries to make use of the described API's of the Moodle system but there is currently no SEB restriction plugin available that works
|
||||
with SEB Server.
|
||||
|
||||
The "LMS Server Address" is the root URL to connect to the LMS server with HTTP over the Internet or intranet. This is usually the the URL that is
|
||||
also used with the Browser to connect to the main page of the LMS system. And additionally the credentials that has been created with the creation of the :ref:`lms-api-account-label` has to be set in the LMS Setup the make the SEB Server
|
||||
able to securely connect to te LMS. The API credentials that consists of a client-name and a client-secret must be used with the "LMS Server Username"
|
||||
and the "LMS Server Password" fields of the LMS Setup form on SEB Server.
|
||||
|
||||
If the SEB Server running behind a proxy server or a firewall between SEB Server den LMS, the additional proxy settings can be used to setup the proxy-connection.
|
||||
|
||||
.. note::
|
||||
To Setup a Test LMS Setup (of type "Test") only a correct URL pattern must be set like "http://test" for example. And API credentials can be anything but must be set.
|
||||
|
||||
After all the settings for a LMS Setup has been set, one can use either the "Save LMS Setup" action to save the LMS Setup without activation or the
|
||||
"Activate LMS Setup" action to also activate the settings right after they has been successfully saved. Anyway for both action there is a intial test
|
||||
that, additionally to the usual field validation that takes place first, tries to connect to the LMS with the given API details. If the connection
|
||||
was'nt successful the SEB Server will inform the user about a possible reason of failure. Otherwise SEB Server shows a success message and the created
|
||||
LMS Setup can be used.
|
||||
|
||||
Use the "Activate / Deactivate LMS Setup" action to activate an inactive LMS Setup or the deactivate a active LMS Setup.
|
||||
|
||||
.. note::
|
||||
On deactivation of an LMS Setup, the system checks on depending object and will show a confirmation to the user asking that all depending
|
||||
objects will also been deactivated. Depending objects of an LMS Setup are exams that has been imported from the specified LMS Setup in the past.
|
||||
|
||||
|
||||
Use Cases
|
||||
|
@ -50,15 +88,67 @@ Use Cases
|
|||
|
||||
**Create a new LMS Setup for Open edX**
|
||||
|
||||
**Create a new LMS Setup for Moodle**
|
||||
A new Open edX system has been installed within your institution and to be able to use the system also for e-assessments with SEB and SEB Server,
|
||||
you have to bind the LMS to the SEB Server.
|
||||
|
||||
- If not already done, install the :ref:`lms-setup-edx-plugin-label` on the Open edX system first.
|
||||
- On the Open edX system create an :ref:`lms-api-account-edx-label`.
|
||||
- Sign into SEB Server with your institutional administrator role account.
|
||||
- Navigate to "Exam Administration" / "LMS Setup" within the navigation on the left hand side.
|
||||
- Use the "Add LMS Setup" action from the right action pane to open a LMS Setup creation form.
|
||||
- Give a unique name to the new LMS Setup for internally identification.
|
||||
- Set the main URL that points to the new LMS system. This is usually the the URL that is also used with the Browser to connect to the main page of the LMS system
|
||||
- Set the API credentials that has been creates within step two.
|
||||
- Use the "Activate LMS Setup" action on the right action pane to test, save and activate the new LMS Setup within one step.
|
||||
|
||||
.. note::
|
||||
If some form attributes are missing or not correct, the SEB Server system will respond with the usual form validation errors.
|
||||
If the connection to the LMS is failing because of missing or wrong credentials or for any other reason the system is not able to connect to the LMS
|
||||
the SEB Server will notify a error dialog to the user.
|
||||
|
||||
|
||||
**Change API Credentials of an Active LMS Setup**
|
||||
|
||||
The API access account on the LMS has been expired and you have to create a new one or update the old one which both result in new API access credentials
|
||||
that has to be set on the existing LMS Setup on the SEB Server.
|
||||
|
||||
.. image:: images/lmssetup/list.png
|
||||
:align: center
|
||||
:target: https://raw.githubusercontent.com/SafeExamBrowser/seb-server/master/docs/images/lmssetup/list.png
|
||||
|
||||
- Sign into SEB Server with your institutional administrator role account.
|
||||
- Navigate to "Exam Administration" / "LMS Setup" within the navigation on the left hand side.
|
||||
- Use the Filter above the list to find the specified LMS Setup.
|
||||
- Select the LMS Setup from the list and use the "Edit LMS Setup" action from the right action pane to open the LMS Setup in edit mode.
|
||||
- Set the new credentials and make sure, the LMS Setup is still active.
|
||||
- Use the "Save LMS Setup" action form the right action pane to save the changes and test the conneciton.
|
||||
|
||||
.. note::
|
||||
If some form attributes are missing or not correct, the SEB Server system will respond with the usual form validation errors.
|
||||
If the connection to the LMS is failing because of missing or wrong credentials or for any other reason the system is not able to connect to the LMS
|
||||
the SEB Server will notify a error dialog to the user.
|
||||
|
||||
**Deactivate LMS Setup**
|
||||
|
||||
A LMS system that was running on your campus to provide e-assessment with SEB and SEB Server has been shout-down and you need to also deactivate
|
||||
the setup and exams on the SEB Server for this LMS.
|
||||
|
||||
Sign into SEB Server with your institutional administrator role account.
|
||||
- Navigate to "Exam Administration" / "LMS Setup" within the navigation on the left hand side.
|
||||
- Use the Filter above the list to find the specified LMS Setup.
|
||||
- Select the specified LMS Setup from the list and use the "Deactivate LMS Setup" action from the right action pane.
|
||||
- Alternatively you can also double-click on the LMS Setup to fist go into the detailed view of the LMS setup and use the "Deactivate LMS Setup" action there.
|
||||
- The system informs you about the number of depending exams that also will be deactivated within the deactivation of the LMS Setup.
|
||||
- Confirm the deactivation and notify that the LMS Setup now is listed as "Inactive" in the list.
|
||||
- Navigate to "LMS Exam Lookup" to make sure the courses form the deactivated LMS Setup are not available anymore.
|
||||
- Navigate also to "Exam" and make sure that all previously imported exams from the deactivated LMS Setup are not available anymore.
|
||||
|
||||
.. _lms-api-account-label:
|
||||
Create API Access Account on LMS
|
||||
API Access Account on LMS
|
||||
--------------------------
|
||||
|
||||
**Open edX**
|
||||
.. _lms-api-account-edx-label:
|
||||
**Open edX API Access Account**
|
||||
|
||||
To be able to create an API access-account on Open edX you need a user-account with staff and administration privileges. Following the steps below:
|
||||
|
||||
|
@ -92,7 +182,8 @@ Once the client registration was successful the client id and client secret can
|
|||
Install SEB restriction API plugin
|
||||
----------------------------------
|
||||
|
||||
**Open edX**
|
||||
.. _lms-setup-edx-plugin-label:
|
||||
**Open edX SEB Plugin**
|
||||
|
||||
There is a SEB integration plugin developed and supported by `eduNEXT <https://www.edunext.co/>`_.
|
||||
- `Documentation <https://seb-openedx.readthedocs.io/en/latest/>`_
|
||||
|
|
Loading…
Reference in a new issue