Enrollment via API, Permission issues

Enrollment via API, Permission issues

by Justin Morris -
Number of replies: 1

Can anyone help with this issue? We have built a custom API to auto enroll new users after they are provision in Moodle. The user provisioning via API is working fine but the enrollment is not. In our Moodle dev environment it works fine but it doesn't work in the live environment. We have self enrollment on in the permissions for the particular course we are enrolling in via API. Are there other permission settings we need to change?? Any help would be greatly appreciated, we are stuck.

Average of ratings: -
In reply to Justin Morris

Re: Enrollment via API, Permission issues

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
"We have built a custom API"

At the risk of being facetious... there's something wrong with your custom API then. Without seeing it and/or understanding what it does it's hard to help.