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

Student unable to access hidden courses in App

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.5, 4.0.1
    • 4.0.2
    • Courses
    • Hide

      Test on one device of your choice

      1. Login from the web app as a teacher/manager.
      2. Create a sample course with the default settings.
      3. Enroll a student to the course.
      4. Login as that teacher to the mobile app.
      5. Check: The course is visible and clickable on the app dashboard and on the course list.
      6. Login as that student to the mobile app.
      7. Check: The course is visible and clickable on the app dashboard and on the course list.
      8. Login from the web app as a teacher/manager.
      9. Go to the settings of the course, and set "Course Visibility" to "Hide".
      10. Login as that teacher to the mobile app.
      11. Check: The course is visible, dimmed and clickable on the app dashboard and on the course list.
      12. Login as that student to the mobile app.
      13. Check: The course is not visible on the app dashboard and on the course list.
      Show
      Test on one device of your choice Login from the web app as a teacher/manager. Create a sample course with the default settings. Enroll a student to the course. Login as that teacher to the mobile app. Check: The course is visible and clickable on the app dashboard and on the course list. Login as that student to the mobile app. Check: The course is visible and clickable on the app dashboard and on the course list. Login from the web app as a teacher/manager. Go to the settings of the course, and set "Course Visibility" to "Hide". Login as that teacher to the mobile app. Check: The course is visible, dimmed and clickable on the app dashboard and on the course list. Login as that student to the mobile app. Check: The course is not visible on the app dashboard and on the course list.
    • MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0.2

    Description

      I've been reviewing a previous tracker https://tracker.moodle.org/browse/MOBILE-2532 as it describes what appears to be the same issue we're currently having with the Mobile App v4.0 (older versions as well).

      Students & Instructors who have been given permission to access hidden courses can not do so through the Mobile App but can through a web/mobile browser.

      This may be directly related to current limitations of Moodle's WebService as described in a separate and unresolved tracker (https://tracker.moodle.org/browse/MDL-74176).

      However, it was unclear from the closed MOBILE-2532 tracker if a solution was in fact implemented and we're seeing a relapse of the same issue OR if the issue was never fully resolved because it's a bigger problem further up the code chain.

      From the MOBILE-2532 tracker:
      "Student enrolled in a hidden course: The course is NOT returned by the WebService, so it's not displayed. In web I cannot see the course either in Site Home.
      Admin or teacher enrolled in a hidden course: The course is returned with visibility=0, so the app displays it but marks it as not accessible. In web I can see the course AND access it.”

      Attachments

        Issue Links

          Activity

            People

              tasosb Anastasios Bithas
              joshmanders Josh Manders
              Pau Ferrer Pau Ferrer
              Isabel Renedo Rouco Isabel Renedo Rouco
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Oct/22