diff -r 8df06dc877aa -r a467d13e34ea app/soc/logic/models/role.py --- a/app/soc/logic/models/role.py Thu Feb 26 16:51:35 2009 +0000 +++ b/app/soc/logic/models/role.py Thu Feb 26 16:52:29 2009 +0000 @@ -63,10 +63,12 @@ return group - def _updateField(self, entity, name, value): + def _updateField(self, entity, entity_properties, name): """Special logic for role. If status changes to active we flush the sidebar. """ + value = entity_properties[name] + if (name == 'status') and (entity.status != value) and value == 'active': # in case the status of the role changes to active we flush the sidebar # cache. Other changes will be visible after the retention time expires.