-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
2.7
-
MOODLE_27_STABLE
There should be another way of validating the access to course/module rather than calling require_login()
require_login() calls methods from lib/pagelib.php that may show debugging messages or even throw exceptions if they are called several times.
We also need to remove the hacks introduced in the linked issues.
- has a non-specific relationship to
-
MDL-41746 external_api::validate_context() only works once (throws debugging)
-
- Closed
-
-
MDL-35021 core_enrol_get_users_courses() throws a require_login_exception exception
-
- Closed
-
-
MDL-27968 Impossible to test externallibs (still occurs in phpunit tests)
-
- Closed
-
-
MDL-35292 require_login_exception received when attempting to delete a course with core_course_delete_courses webservice
-
- Closed
-
-
MDL-23440 Context validation should catch exception and return more friendly error
-
- Closed
-
- will be (partly) resolved by
-
MDL-44615 require_login simplified and improved
-
- Closed
-