Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4099

Don't call insert_scorm_tracks if user doesn't have permissions to save tracks

    XMLWordPrintable

Details

    • Bug
    • Status: Waiting for testing
    • Minor
    • Resolution: Unresolved
    • 4.0.1
    • None
    • SCORM add-on
    • Hide

      This issue only needs to be tested in 1 device.

      1. In web as admin, go to Site administration > Users > Define roles.
      2. Edit the student role and remove the capability mod/scorm:savetrack.
      3. In a course, create a SCORM with tracking (e.g. the Golf one).
      4. In the app, login with a student.
      5. Open and play the SCORM.
      6. Finish the SCORM and go back. Check that no error was displayed and the SCORM doesn't say there is offline data. Please notice that there is a minor difference with LMS, in LMS you will now have an attempt with grade 0 (if you didn't have one already), in the app you won't have a new attempt (so you might see that you have no attempts yet). This is a technical limitation, the app cannot create attempts without the capability.
      Show
      This issue only needs to be tested in 1 device. In web as admin, go to Site administration > Users > Define roles. Edit the student role and remove the capability mod/scorm:savetrack. In a course, create a SCORM with tracking (e.g. the Golf one). In the app, login with a student. Open and play the SCORM. Finish the SCORM and go back. Check that no error was displayed and the SCORM doesn't say there is offline data. Please notice that there is a minor difference with LMS, in LMS you will now have an attempt with grade 0 (if you didn't have one already), in the app you won't have a new attempt (so you might see that you have no attempts yet). This is a technical limitation, the app cannot create attempts without the capability.
    • MOODLE_400_STABLE
    • Moodle App 4.1.0

    Description

      If a user doesn't have permissions to save tracks in SCORM, the app displays an error. But in LMS it doesn't display the error, we should probably not call the WS if the user doesn't have permissions to save tracks.

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Noel De Martin Noel De Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: