openpsa icon indicating copy to clipboard operation
openpsa copied to clipboard

set_privilege doesn't invalidate_cache

Open satelines opened this issue 4 years ago • 1 comments

After setting privilege, page need to be refreshed, or load the object from DB in order to see the toolbar's buttons.

satelines avatar Jan 29 '20 13:01 satelines

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

flack avatar Jan 29 '20 13:01 flack