[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=13cc47d30f571453c956da35a4f7545be4f1d52d
http://github.com/moodle/moodle/commit/13cc47d30f571453c956da35a4f7545be4f1d52d

+ 2.9 en [loginrequired,core_webservice]