On Saturday February 7, 2009 19:35:22 Diez B. Roggisch wrote:
> today I began migrating our app to TG2b5. Works good so far, the biggest
> issues were in the authentication-layer (unsurprisingly).
>
> However, I noticed an apparent bug in the current docs, where instead of
> "allow_only" they speak of "_require" as the class-attribute that's
> going to be checked for authentication.

Thanks, I just fixed that.

> And I wonder if "allow_only" (as well as the old "require") isn't too
> likely to collide for some people with potential controller-action-names?
>
> I'd personally think, something like "__require__" or "__allow_only__"
> would be better, don't you think?

That's what I suggested initially but some people disagreed (well, I proposed 
a single underscore).

By the way, we're talking about authorization not authentication.

Cheers.
-- 
Gustavo Narea <http://gustavonarea.net/>.

Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/

--~--~---------~--~----~------------~-------~--~----~
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