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

Add new options in Mobile app features -> Disabled features for new features added in the app version 4.4

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.4
    • 4.4
    • Administration
    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • MDL-81133-master
    • Hide
      1. As an admin, enable “Web services for mobile devices” on Site administration ► Advanced features
      2. Save changes
      3. Go to Site administration ► Plugins ► Web services ► Manage tokens
      4. Create a WS Token for a non-admin user on the site
      5. Note the token
      6. Go to Site administration ►Mobile app ►Mobile features
      7. Under "Disabled features" Choose the following options:
        1. User account > Policies and agreements
        2. User account > Data privacy
      8. Save changes
      9. 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. CoreUserDelegate_CorePolicy,CoreUserDelegate_CoreDataPrivacy
      10. Now, go back to Site administration ►Mobile app ►Mobile features
      11. Under "Disabled features" unselect all options (hold ctrl and click on the option)
      12. Save changes
      13. Execute the CURL request again and check that the tool_mobile_disabledfeatures value is empty
      Show
      As an admin, enable “Web services for mobile devices” on Site administration ► Advanced features 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 > Policies and agreements User account > Data privacy 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: CoreUserDelegate_CorePolicy,CoreUserDelegate_CoreDataPrivacy Now, go back to Site administration ►Mobile app ►Mobile features Under "Disabled features" unselect all options (hold ctrl and click on the option) Save changes Execute the CURL request again and check that the tool_mobile_disabledfeatures value is empty

      As usual, we allow to disable any feature available in the Mobile app, in particular, we should now include:

      • Data privacy: CoreUserDelegate_CoreDataPrivacy
      • Policies and agreements: CoreUserDelegate_CorePolicy

            jleyva Juan Leyva
            jleyva Juan Leyva
            Rodrigo Mady Rodrigo Mady
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 37 minutes
                3h 37m

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