martinlanghoff ef989bd95e accesslib: Introduce (and use) reload_all_capabilities()
If accessinfo is stale, we need to reload it without losing
out "interesting" state -- transparently for the end user.

That means preserving active role switches, loginas (site and course
level), etc. The logic for that is encapsulated in
reload_all_capabilities().

Also affected:
 - has_capability() which now calls reload_all_capabilities()
 - role_switch() - minor tidyup
2007-09-19 07:11:18 +00:00
..
2007-01-23 05:19:28 +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
2007-01-24 07:08:50 +00:00
2007-08-29 13:10:20 +12: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