praxisdigital / mod_diplomasafe

Plugin made for interaction with Diplomasafe.com
Other
0 stars 0 forks source link

is get_templates supposed to allow anonymous access? #8

Open danmarsden opened 2 years ago

danmarsden commented 2 years ago

the get_templates external service doesn't appear to implement a require_login or has_capability check - if this is correct behaviour you should add some comments to the top of the get_templates() function to state that anonymous access is expected.

https://github.com/praxisdigital/mod_diplomasafe/blob/MOODLE_311_STABLE/classes/external/get_templates.php#L52