for now, i've patched the eggs and caching the data for 5 mins.
however, i find this disturbing. if i am not asking for a permission
check or user check, it should not try to do so.

another question. sprox and toscawidgets do not depend on repoze.bfg,
right?

On Aug 1, 5:07 pm, Alessandro Molina <[email protected]>
wrote:
> It is the way the repoze.who and repoze.what sqlalchemy plugins work
> that makes that happen.
> It should be quite easy to implement your own identificator and
> authenticator to avoid multiple look ups.
> Just fill all the request.identity related dictionaries to keep
> compatibility with the predicates.
>
>
>
>
>
>
>
> On Mon, Aug 1, 2011 at 1:15 PM, Mengu <[email protected]> wrote:
> > Hi all,
>
> > I don't know if it's repoze.who or TurboGears doing that but in every
> > request it sends 3 db requests to user, group and the permission
> > tables. Why is this necessary? I don't want this to happen. This
> > information can stay in session until it expires. Please lighten my
> > way here.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "TurboGears" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/turbogears?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to