tingobol / yii-rights

Automatically exported from code.google.com/p/yii-rights
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Optimize the permissions view #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Purpose of this enhancement:

To improve the loading of the permissions view. Currently it does a lot of 
extra queries.

How should it work?

Authorization items should be runtime cached so that they are not fetched twice 
from the db.

Please provide any additional information below.

Original issue reported on code.google.com by cni...@live.com on 11 Dec 2010 at 9:27

GoogleCodeExporter commented 9 years ago
The permissions view has now been optimized, the amount of queries ran dropped 
by ca. 80%. In order to make it faster both authorization items and item 
children are now runtime cached as default. However, it is still possible to 
disallow cached data when necessary.

Original comment by cni...@live.com on 11 Dec 2010 at 9:28