ispringsolutions / moodle-mod_ispring

Other
0 stars 0 forks source link

some of the external functions are missing a validate_context and capability check #15

Open danmarsden opened 3 months ago

danmarsden commented 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