##// END OF EJS Templates
fix(permissions): Invalidate cache on changing the default permissions...
super-admin -
r5186:76f12b03 default
parent child Browse files
Show More
@@ -517,6 +517,9 b' class PermissionModel(BaseModel):'
517 self.sa.rollback()
517 self.sa.rollback()
518 raise
518 raise
519
519
520 # because we've FORCED and update here, make sure we reset all permissions cache
521 PermissionModel().trigger_permission_flush()
522
520 def update_branch_permissions(self, form_result):
523 def update_branch_permissions(self, form_result):
521 if 'perm_user_id' in form_result:
524 if 'perm_user_id' in form_result:
522 perm_user = User.get(safe_int(form_result['perm_user_id']))
525 perm_user = User.get(safe_int(form_result['perm_user_id']))
General Comments 0
You need to be logged in to leave comments. Login now