Hi,
I think this is due to the fact of using RBAC (role based access control), which is for very secure applications, large apps are normaly not that much secured, but there are other solutions like fo example loading those tables into memory.
Khalil
I am not an expert in this, but I believe that :
@auth.requires_login()
there would be no database quieries because auth is stored in session which I believelives in
Sorry pressed send button by mistake.
I was saying that I believe auth lives in memory so no db access is supposed to happen,
and I go back and say that RBAC will need db access all times.
Khalil
That is exactly my point, il you go beyond authenticating users, you need db access to do it.
usualy you dont need RBAC for all your actions. but if you really do, you can move auth tables to RAM (mysql)
Khalil