Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-49398 accesslib: Simplify role definition loading and cache
This change removes the complex and partial loading of role definition data for users. It is replaced by keeping one system-wide definition for each role in MUC. This is cheaper to regenerate as it avoids complex database queries (repeated LEFT JOIN to context). Memory usage is kept low thanks to array CoW for each user access data.
- Loading branch information