Thanks for pointing that out.
I only used the admin for Proof of Concepts so I never tried changing the
predicate and never noticed it was broken :(

It was failing as the predicate is bool evaluable, so it was not checking
if there was a predicate, but if the predicate itself was passing.
I released a 0.6.6 bugfix release that should solve that issue.


On Tue, Sep 15, 2015 at 4:40 PM, Moritz Schlarb <[email protected]>
wrote:

> On 02.09.2015 16:23, Paul Kraus wrote:
> > The class docs state that allow_only defaults to
> > predicates.in_group('managers'). I can't find anywhere in the code that
> > actually applies this default so as a side question can you point me to
> > where that happens out of curiosity?
>
>
> https://github.com/TurboGears/tgext.admin/blob/master/tgext/admin/controller.py#L40
>
> But I think your code should actually work... Maybe Alessandro can shed
> some light into this...
>
> --
> Moritz Schlarb
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/turbogears.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to