Hello Folks,
I'm developing a moodle plugin that does the following actions:
* Webservice user creation;
* Specific Role Definition (Site Wide);
* Activate the Site Webservice Feature;
* Activate the Rest method for the WebService;
* Create User Token;
* Insert the user into a previously defined External Service.
The question: there is that a way to define some of these settings inside the default.php on my local plugin? If yes, what actions?
I know that I can use some API (Users, enrollment, etc) to do this but if is there a way to define some of the actions, it would be better than execute every action with code.
Desde já agradeço.