mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
martinlanghoff
018d4b52b7
accesslib: get_user_access_bycontext() fetches overrides in subcontexts, intro aggr_roles_fromsess()
The main thing here is that overrides in subcontexts are now read correctly (and still cheaply) into the access array. Also - introducing aggr_roles_fromsess() with gives you a list of the relevant roles that affect the user in this context - we clear out $USER->access on login/logout - get_user_access_bycontext() gets a few optimisations too...
accesslib: get_user_access_bycontext() fetches overrides in subcontexts, intro aggr_roles_fromsess()
README $Id$ ------ QUICK INSTALL ============= For the impatient, here is a basic outline of the installation process, which normally takes me only a few minutes: 1) Move the Moodle files into your web directory. 2) Create a single database for Moodle to store all it's tables in (or choose an existing database). 3) Visit your Moodle site with a browser, you should be taken to the install.php script, which will lead you through creating a config.php file and then setting up Moodle, creating an admin account etc. 4) Set up a cron task to call the file admin/cron.php every five minutes or so. For more information, see the INSTALL DOCUMENTATION: http://docs.moodle.org/en/Installing_Moodle A local copy can also be found in lang/en_utf8/help/install.html (or your language) Good luck and have fun! Martin Dougiamas, Lead Developer
Description
Languages
PHP
78.1%
JavaScript
14.6%
Gherkin
3.5%
CSS
1.7%
Mustache
1.6%
Other
0.4%