Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
I just submitted a patch / pull request for Joomla 2.5 tracker here:http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=11410&tracker_item_id=29769Hope you can test and post on the tracker so this is included in next Joomla 2.5.9 release.
the onUserAfterSaveGroup() event is a little weak in the documentation area. but I implemented it with the understanding that it is fired whenever an ACL group is saved -- including when permissions are changed for the group.when those triggers are fired, they call CRM_Core_BAO_Navigation::resetNavigation( );that is definitely the right CiviCRM method to call, and should take care of the user's navigation cache. the function clears the navigation value in the setting table (for the user) and also removes any navigation rows from the main cache table. I suspect that in some scenario, onUserAfterSaveGroup() is not getting fired as we expect, and that's where the problem lies.I'm not opposed to clearing the nav cache on user login. we would use the onUserLogin($user, $options = array()) event to do that. i'll take a look.