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

enrol_self_enrol()

    XMLWordPrintable

Details

    • MOODLE_22_STABLE
    • wip-mdl-30065
    • Hide
      1. Log in as admin
      2. Go to course and enable self enrolment (With firebug note self_enrolment instance id)
      3. Try enrol as student in that course and you should be able to self enrol.
      4. As admin change self enrolment settings and add enrolment key
      5. Try enrol as another student and it should ask for enrolment key.
      6. Input enrolment key and it should enrol this user.

      Test webservice (refer attached rest-ws-client)

      1. Enable webservices and test enrol_self_enrol_user with enrolinstanceid = {above instance id}
      Show
      Log in as admin Go to course and enable self enrolment (With firebug note self_enrolment instance id) Try enrol as student in that course and you should be able to self enrol. As admin change self enrolment settings and add enrolment key Try enrol as another student and it should ask for enrolment key. Input enrolment key and it should enrol this user. Test webservice (refer attached rest-ws-client) Enable webservices and test enrol_self_enrol_user with enrolinstanceid = {above instance id}

    Attachments

      Issue Links

        Activity

          People

            Unassigned Unassigned
            jerome Jérôme Mouneyrac
            Petr Skoda Petr Skoda
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: