martinlanghoff 7f97ea29bf accesslib: initial has_capability() rewrite
- has_capability() renamed has_capability_old() and we fallback
   when we cannot answer the question

 - has_capability() works great for the course-and-above contexts
   for the logged in user - does not touch the DB

 - works based on $USER->access which has a pretty compact view
   of the user's access rights...

TODO:

 - deal with contexts below the course - here we need to
   trigger the role-assignment and role-defs load when needed

 - deal with "other" contexts that hang from the system context

 - deal with global roleswitch, local roleswitch
2007-09-19 07:02:31 +00:00
..
2007-07-07 14:18:30 +12:00
2007-08-03 03:20:30 +00:00
2007-08-29 13:10:20 +12:00
2007-08-24 12:45:16 +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
2007-05-20 11:20:49 +00:00