[AMOS commit] MDL-50782 Ajax: No require_login for all ajax webservice calls Committed into Git: 2015-07-13 04:21 UTC

[AMOS commit] MDL-50782 Ajax: No require_login for all ajax webservice calls Committed into Git: 2015-07-13 04:21 UTC

by AMOS bot -
Number of replies: 0
Author: Damyon Wiese
MDL-50782 Ajax: No require_login for all ajax webservice calls
Some webservice functions need to be available without a login, e.g.
fetching strings and templates.

External functions must call validate_context if they require a valid login etc.

Added a new parameter to services.php: "loginrequired". Default is true.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=5d8c198711d27f4a1170e76786793e8d3d62e0d5
http://github.com/moodle/moodle/commit/5d8c198711d27f4a1170e76786793e8d3d62e0d5

+ 3.0 en [loginrequired,core_webservice]