martinlanghoff 6cc59cb21b accesslib: add support for multi-enrolments
I had dropped support for multi-enrolments on the same context.

 Oops!

This patch reinstates it, changing the semantics of the 'ra'
array leaves from an int to an array of ints.

So no instead of

   $USER->access['ra']['/1/12/543'] = 5

we have

   $USER->access['ra']['/1/12/543'] = array(5)

the functions that build the array, and the array walkers have
been updated. This touches...

  Writing RAs
    load_all_capabilities()
    get_user_access_sitewide()
    get_user_access_bycontext()

  Reading RAs
    has_cap_fromsess()
    aggr_roles_fromsess()

Thanks to Matt Clarkson for mentioning multi-enrolments!
2007-09-19 07:06:30 +00:00
..
2007-01-23 05:19:28 +00:00
2006-03-21 20:54:50 +00:00
2007-07-07 14:18:30 +12:00
2007-02-02 18:38:05 +00:00
2007-08-03 03:20:30 +00:00
2006-04-16 15:56:36 +00:00
2007-01-24 07:08:50 +00:00
2007-08-29 13:10:20 +12:00
2007-08-24 12:45:16 +00:00
2006-04-22 16:36:35 +00:00
2007-08-15 13:43:27 +00:00
2007-08-15 11:08:37 +00:00
2007-09-17 12:37:51 +00:00
2006-09-12 06:58:42 +00:00
2007-05-20 11:20:49 +00:00