openpsa
openpsa copied to clipboard
set_privilege doesn't invalidate_cache
After setting privilege, page need to be refreshed, or load the object from DB in order to see the toolbar's buttons.
Note: Memcache actually gets invalidated properly, the problem is the static in-request cache here:
https://github.com/flack/openpsa/blob/869c2a86de7236a6267a2c9fc0dc6cd5ebf0beaa/lib/midcom/services/auth/acl.php#L498-L503