https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27343

--- Comment #4 from David Cook <dc...@prosentient.com.au> ---
(In reply to Jonathan Druart from comment #3)
> Hum, looks like I was so frustrated to not find something significant in
> get_template_and_user that I invented problems.
> 
> Yes, it's plain silly to use L1 in this situation. And L2 won't help much...

I do dislike get_template_and_user... heh.

What about the block for "LoadSearchHistoryToTheFirstLoggedUser"? It looks like
that could generate way more database calls than should be necessary, although
I doubt that would show up in the benchmarking...

Actually, going back to permissions, I have been thinking about whether we
should calculate permissions for each request, or if we should calculate
permissions at login time. I think that AWS calculates at least some
permissions at login time, which would be more performant, although the
annoying thing is that sometimes you have to logout and login again to gain
newly assigned permissions.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to