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

enrol_self_enrol()

    XMLWordPrintable

    Details

    • Testing Instructions:
      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}
    • Affected Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      wip-mdl-30065

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jerome Jérôme Mouneyrac
            Peer reviewer:
            Petr Skoda
            Integrator:
            Sam Hemelryk
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: