Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65061

Implement suspend on external unenrol option for ims enterprise enrolment method

XMLWordPrintable

    • MOODLE_37_STABLE
    • MOODLE_401_STABLE
    • MDL-65061-master_ims_unenrol
    • Hide

      Setup

      1) Login as admin to your site

      2) Open Site admin => Plugins => Enrolments => Manage enrol plugins

      3) Enable "IMS Enterprise file"

      4) Edit the settings for "Manage enrol plugins" and ensure appropriate values have been set for:

      • Basic settings => File location
      • Basic settings => Log file output location
      • User data options => Create user accounts for users not yet registered in Moodle (Set this to true/ticked)
      • Roles => Learner = Student
      • Roles => Instructor = Teacher
      • Roles => Member = Student
      • Course data options => Create new (hidden) courses if not found in Moodle (set to true/ticked)
      • Course data options => Allow the IMS data to unenrol students/teachers (set to true/ticked)

      5) Save Changes

       

      Testing scenario 1. User enrolment

      1) Update the file defined in "File location" with the content in imsfile1.xml

      2) Open Site admin => Plugins => Enrolments => IMS Enterprise file

      3) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file.

      4) Review roles and enrolments for the newly created users to confirm that User01 is an instructor, and User02, User03, User04, User05 are students.

       

      Testing scenario 2. Un-enrol (Delete enrolment & roles)

      1) Update the file defined in "File location" with the content in imsfile2.xml

      2) Open Site admin => Plugins => Enrolments => IMS Enterprise file

      3)  Set "Unenrol action" to "Delete enrolment & roles" and save changes

      4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file.

      5) Review roles and enrolments to confirm that no enrolment and roles appear for user IMS User01.

       

      Testing scenario 3. No action (leave roles and enrolments unchanged)

      1) Update the file defined in "File location" with the content in imsfile3.xml

      2) Open Site admin => Plugins => Enrolments => IMS Enterprise file

      3)  Set "Unenrol action" to "No Action" and save changes

      4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file.

      5) Review roles and enrolments to confirm that no changes were made to roles or enrolment for IMS User02.

       

      Testing scenario 4. Un-enrol (Suspend enrolment only)

      1) Update the file defined in "File location" with the content in imsfile4.xml

      2) Open Site admin => Plugins => Enrolments => IMS Enterprise file

      3)  Set "Unenrol action" to "Suspend enrolment only" and save changes

      4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file.

      5) Review roles and enrolments to confirm that the enrolment for user IMS User03, is suspended but that their role however still exists.

       

      Testing scenario 5. Un-enrol (Suspend enrolment & remove roles)

      1) Update the file defined in "File location" with the content in imsfile5.xml

      2) Open Site admin => Plugins => Enrolments => IMS Enterprise file

      3)  Set "Unenrol action" to "Suspend enrolment & remove roles" and save changes

      4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file.

      5) Review roles and enrolments to confirm that the enrolment for user IMS User04, is suspended and that their role has also been removed.

       

      Testing scenario 6. Un-enrol (Delete enrolment & roles) when recstatus and status clash

      1) Update the file defined in "File location" with the content in imsfile6.xml

      2) Open Site admin => Plugins => Enrolments => IMS Enterprise file

      3)  Set "Unenrol action" to "Delete enrolment & roles" and save changes

      4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file.

      5) Review roles and enrolments to confirm that no enrolment and roles appear for user IMS User05.

      Show
      Setup 1) Login as admin to your site 2) Open Site admin => Plugins => Enrolments => Manage enrol plugins 3) Enable "IMS Enterprise file" 4) Edit the settings for "Manage enrol plugins" and ensure appropriate values have been set for: Basic settings => File location Basic settings => Log file output location User data options => Create user accounts for users not yet registered in Moodle (Set this to true/ticked) Roles => Learner = Student Roles => Instructor = Teacher Roles => Member = Student Course data options => Create new (hidden) courses if not found in Moodle (set to true/ticked) Course data options => Allow the IMS data to unenrol students/teachers (set to true/ticked) 5) Save Changes   Testing scenario 1. User enrolment 1) Update the file defined in "File location" with the content in imsfile1.xml 2) Open Site admin => Plugins => Enrolments => IMS Enterprise file 3) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file. 4) Review roles and enrolments for the newly created users to confirm that User01 is an instructor, and User02, User03, User04, User05 are students.   Testing scenario 2. Un-enrol (Delete enrolment & roles) 1) Update the file defined in "File location" with the content in imsfile2.xml 2) Open Site admin => Plugins => Enrolments => IMS Enterprise file 3)  Set "Unenrol action" to "Delete enrolment & roles" and save changes 4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file. 5) Review roles and enrolments to confirm that no enrolment and roles appear for user IMS User01.   Testing scenario 3. No action (leave roles and enrolments unchanged) 1) Update the file defined in "File location" with the content in imsfile3.xml 2) Open Site admin => Plugins => Enrolments => IMS Enterprise file 3)  Set "Unenrol action" to "No Action" and save changes 4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file. 5) Review roles and enrolments to confirm that no changes were made to roles or enrolment for IMS User02.   Testing scenario 4. Un-enrol (Suspend enrolment only) 1) Update the file defined in "File location" with the content in imsfile4.xml 2) Open Site admin => Plugins => Enrolments => IMS Enterprise file 3)  Set "Unenrol action" to "Suspend enrolment only" and save changes 4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file. 5) Review roles and enrolments to confirm that the enrolment for user IMS User03, is suspended but that their role however still exists.   Testing scenario 5. Un-enrol (Suspend enrolment & remove roles) 1) Update the file defined in "File location" with the content in imsfile5.xml 2) Open Site admin => Plugins => Enrolments => IMS Enterprise file 3)  Set "Unenrol action" to "Suspend enrolment & remove roles" and save changes 4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file. 5) Review roles and enrolments to confirm that the enrolment for user IMS User04, is suspended and that their role has also been removed.   Testing scenario 6. Un-enrol (Delete enrolment & roles) when recstatus and status clash 1) Update the file defined in "File location" with the content in imsfile6.xml 2) Open Site admin => Plugins => Enrolments => IMS Enterprise file 3)  Set "Unenrol action" to "Delete enrolment & roles" and save changes 4) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger the processing of the file. 5) Review roles and enrolments to confirm that no enrolment and roles appear for user IMS User05.

      The option to suspend on external unenrol action is available in the external database enrolment method but not the IMS enterprise enrolment method.

        1. image002.png
          image002.png
          0.7 kB
        2. image004.jpg
          image004.jpg
          0.4 kB
        3. imsfile1.xml
          4 kB
        4. imsfile2.xml
          0.6 kB
        5. imsfile3.xml
          0.6 kB
        6. imsfile4.xml
          0.6 kB
        7. imsfile5.xml
          0.6 kB
        8. imsfile6.xml
          0.6 kB
        9. MDL-65061_Test 1.webm
          1.18 MB
        10. MDL-65061_Test 2.webm
          1.71 MB
        11. MDL-65061_Test 3.webm
          1.53 MB
        12. MDL-65061_Test 4.webm
          1.19 MB
        13. MDL-65061_Test 5.webm
          1.68 MB
        14. MDL-65061_Test 6.webm
          1.62 MB
        15. test-instructions.txt
          11 kB

            marxjohnson Mark Johnson
            aspark Alistair Spark
            Marcus Green Marcus Green
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 23 minutes
                1d 3h 23m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.