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

Add new settings for disabling Mobile app functionalities

    XMLWordPrintable

Details

    • MOODLE_28_STABLE, MOODLE_32_STABLE
    • MOODLE_33_STABLE
    • MDL-49423-master
    • Hide
      1. Enable "Mobile services": Plugins ► Web Services ► Mobile
      2. Go to Site administration ►Mobile app ►Mobile features
      3. Disable some of the features (in the Disabled features multiple select field)
      4. Create a WS Token for one standard user:
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      5. Next, you can do a CURL REST call simulating a WS client with the user.
        • You need to replace the wstoken, and the URL of your moodle instance

          curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=tool_mobile_get_config&wstoken=12a2a65aeea2a177055e233f9e303218&section=mobileapp' | python -m "json.tool"

      6. Check that you receive correctly the list of features disabled
      Show
      Enable "Mobile services": Plugins ► Web Services ► Mobile Go to Site administration ►Mobile app ►Mobile features Disable some of the features (in the Disabled features multiple select field) Create a WS Token for one standard user: Click on Site administration ► Plugins ► Web services ► Manage tokens Next, you can do a CURL REST call simulating a WS client with the user. You need to replace the wstoken, and the URL of your moodle instance curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=tool_mobile_get_config&wstoken=12a2a65aeea2a177055e233f9e303218&section=mobileapp' | python -m "json.tool" Check that you receive correctly the list of features disabled

    Description

      We need some settings in Moodle for disabling plugins/features in the app.

      This has been requested several times (including partners). It will be useful on sites with heavy customizations or some features disabled via custom scripts or similar.

      We can add this new settings under Administration > Mobile app > Mobile features

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              jleyva Juan Leyva
              Dani Palou Dani Palou
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Ryan Wyllie Ryan Wyllie
              Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/May/17