server/securityhooks.py
branch3.0
changeset 475 b32a5772ff06
parent 0 b97547f5f1fa
child 479 ac5c9442b1fd
--- a/server/securityhooks.py	Fri Jan 23 15:51:24 2009 +0100
+++ b/server/securityhooks.py	Tue Jan 27 13:51:49 2009 +0100
@@ -54,6 +54,7 @@
             entity.check_perm('update')
             check_entity_attributes(session, entity)
         except Unauthorized:
+            entity.clear_local_perm_cache('update')
             CheckEntityPermissionOp(session, entity=entity, action='update')
         
 def before_del_entity(session, eid):