Open danmarsden opened 3 months ago
Ideally all the execute functions inside your webservice functions should perform a validate_context and require_capability check before taking an action (end session etc.)
more information on this is here: https://moodledev.io/docs/4.5/apis/subsystems/external/writing-a-service#context-and-capability-checks
Ideally all the execute functions inside your webservice functions should perform a validate_context and require_capability check before taking an action (end session etc.)
more information on this is here: https://moodledev.io/docs/4.5/apis/subsystems/external/writing-a-service#context-and-capability-checks