-
- 1 Posts
After I update a UserGroupMember, isMember() is still using the old data (despite the member_groups table updating correctly).
I’m assuming this is because of some kind of object caching. I’ve tried $cacheManager->clearCache() with no luck.
Any help with flushing the cache so isMember works without having to have the user login/out would be appreciated!
Thanks!
-
- 24,544 Posts
Did you try Security -> Flush All Permissions?
I’m not sure what the PHP code for that would be. You can see the JS code for it in System -> Actions by right-clicking on the "Flush Permissions" item on the right and selecting update menu.