martinlanghoff a4436c6db8 accesslib: get_user_by_capability() - Handle the complex case
With this commit, we can handle the complex cases with

 - correct pagination, but not very efficient over large datasets

 - mostly-correct application of the override rules

The structure of the code is fairly complex in that we want to do
it without holding all the recs in memory, so we use a small state
machine. We have to handle the complex override rules over 1 or 2
permissions (when $doanything is set) so it all ends up quite complex.

There is one known issue with this code, in cases where the default
role ends up as the decider between 2 conflicting RAs, we fail to
apply it. This will need a bit of reorg of how the loop works.

MDL-12452
2008-01-06 23:23:58 +00:00
2007-11-30 01:16:26 +00:00
2008-01-02 16:47:57 +00:00
2008-01-02 16:47:57 +00:00
2008-01-04 21:06:39 +00:00
2007-12-26 10:24:30 +00:00
2008-01-02 16:47:57 +00:00
2007-08-29 13:10:11 +12:00
2007-11-06 13:39:42 +00:00
2007-12-06 08:44:07 +00:00
2007-12-17 04:17:02 +00:00

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
No description provided
Readme 1.2 GiB
Languages
PHP 78.1%
JavaScript 14.6%
Gherkin 3.5%
CSS 1.7%
Mustache 1.6%
Other 0.4%