Permission system slow down with restrict_owner and many users
|Reported by:||Owned by:|
Working in a instance with many people, and having the restrict_owner activated, trac slow down, mainly in ticket view.
I have created a patch that increases the seconds of valid cache, and flush it when any permission has changed.
This patch has been applied to versions 0.11.2(production site) and 0.11.5 with success and nothing seems to be broken, and the performance has increased a lot.