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

Reorder and review the mobile settings for app 4.0

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-73625-311
    • MDL-73625-master
    • Hide
      1. As admin, go to Plugins ► Web Services ► Mobile
      2. Enable "Mobile services":
      3. Save changes
      4. Go to Site administration ► Plugins ► Web services ► Manage tokens
      5. Create a WS Token for a non-admin user on the site
      6. Note the token
      7. Go to Site administration ►Mobile app ►Mobile features
      8. Under "Disabled features" Choose the following options:
        1. User Account > Switch account
        2. Modules > BigBlueButton
        3. Blocks > Courses
      9. Save changes
      10. Open a terminal/console and execute the following command:
        • You need to replace the WSTOKEN with the token created in step 2 and the URL of your moodle instance

          curl 'URL/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=tool_mobile_get_config&wstoken=WSTOKEN&section=mobileapp' | python -m "json.tool"
          

        1. Confirm that you see the following items listed in the tool_mobile_disabledfeatures part of the response:
          1. NoDelegate_SwitchAccount,$mmCourseDelegate_mmaModBigbluebuttonbn,CoreBlockDelegate_AddonBlockCourseList
      11. Now, go back to Site administration ►Mobile app ►Mobile features
      12. Under "Disabled features" unselect all options
      13. Save changes
      14. Execute the CURL request again and check that the tool_mobile_disabledfeatures value is empty
      Show
      As admin, go to Plugins ► Web Services ► Mobile Enable "Mobile services": Save changes Go to Site administration ► Plugins ► Web services ► Manage tokens Create a WS Token for a non-admin user on the site Note the token Go to Site administration ►Mobile app ►Mobile features Under "Disabled features" Choose the following options: User Account > Switch account Modules > BigBlueButton Blocks > Courses Save changes Open a terminal/console and execute the following command: You need to replace the WSTOKEN with the token created in step 2 and the URL of your moodle instance curl 'URL/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=tool_mobile_get_config&wstoken=WSTOKEN&section=mobileapp' | python -m "json.tool" Confirm that you see the following items listed in the tool_mobile_disabledfeatures part of the response: NoDelegate_SwitchAccount,$mmCourseDelegate_mmaModBigbluebuttonbn,CoreBlockDelegate_AddonBlockCourseList Now, go back to Site administration ►Mobile app ►Mobile features Under "Disabled features" unselect all options Save changes Execute the CURL request again and check that the tool_mobile_disabledfeatures value is empty

    Description

      Because of the 4.0 upcoming changes, there are certain settings that will have slightly different behaviour.

      We need to review the mobile app settings to ensure consistency and that everything makes sense

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              jleyva Juan Leyva
              Dani Palou Dani Palou
              Andrew Lyons Andrew Lyons
              Gladys Basiana Gladys Basiana
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Mar/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 35 minutes
                  1h 35m