crisu83 / yii-rights

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

Timeout on assignment page when quantity of users over 9000 #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Fill to db many operations, roles, tasks + add many users

What is the expected output? What do you see instead?

When I open assignments page in Rights administrating interface, it produces 
SQL queries for each user and we have a timeout (in my case quantity of users 
is over 9000).

Problem in RightsAuthoriser::getSuperusers() method.

Original issue reported on code.google.com by vitaliy.step on 9 Feb 2011 at 10:58

GoogleCodeExporter commented 9 years ago
My working solution. See pach in attacment.

Original comment by Veta...@gmail.com on 9 Feb 2011 at 6:24

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for submitting this issue.

I will fix this for the next release (1.3.0).

Original comment by Christof...@gmail.com on 17 Feb 2011 at 12:05

GoogleCodeExporter commented 9 years ago
Alright, this has been fixed for the upcoming version 1.3.0.

Original comment by Christof...@gmail.com on 31 Mar 2011 at 9:29