Yep, I overlooked that when I reviewed r6503. There's no reason to hardcode 
the failure reason.

Mark also mentioned this, but I misunderstood what he meant.

I'll fix it in a bit.

  =Gustavo


On Wednesday March 18, 2009 17:26:21 Christoph Zwerschke wrote:
> When I quickstart a project with TG2.0rc1 and surf to
>
> http://localhost:8080/manage_permission_only
>
> then I get - as expected - the error message
>
> "Only for managers"
>
> However, when I surf to
>
> http://localhost:8080/secc/
>
> then I get the error message
>
> "The current user must have been authenticated"
>
> This is not what I expect. It is actually the default error message for
> not_anonymous, but the secc controller uses has_permission with an
> explicit message of 'Only for people with the "manage" permission'.
>
> I think this has worked correctly in the beta versions.
>
> -- Christoph
>
> 
-- 
Gustavo Narea <xri://=Gustavo>.
| Tech blog: =Gustavo/(+blog)/tech  ~  About me: =Gustavo/about |

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to