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

Allow accepting/declining optional site policies via WebService

XMLWordPrintable

      The WebService core_user_agree_site_policy allows only accepting all the mandatory policies.

      We need several WebServices:

      • WS to retrieve the list of active policies, if they are optional plus the status for the user (Accepted, Declined, Pending)
      • WS to accept policies

      Update existing WebServices to return:

      • $USER->policyagreed: to check if the user already accepted the mandatory policies or not (instead of capturing exceptions like we are doing now)

      This WS should work even if the user has not accepted yet mandatory policies (not call to require_login)

            jleyva Juan Leyva
            dpalou Dani Palou
            Rodrigo Mady Rodrigo Mady
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 7 hours, 15 minutes
                1d 7h 15m

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