Actually, I did convert all my controller to BaseController. The
exception accured when my controller subclass BaseController and
using  @require decorator and require property in the same controller.
Currently I use predicates.has_all_permissions to replace what I did
in TG2b1, but I wish there's a way to define a default permission for
a controller and only use @require(predicates.has_permission('xx')) on
only a few method where additional permission is required.

Ronggo

On Dec 9, 2:19 pm, Gustavo Narea <[EMAIL PROTECTED]> wrote:
> Please don't use SecureController, that functionality is available in the
> BaseController itself as of the second beta. SecureController in b1 is
> outdated (it uses repoze.what the old way; hence the exception) and since it's
> no longer necessary, you may want to remove it and use BaseController instead.
>
> More 
> info:http://trac.turbogears.org/wiki/2.0/changelog#a1.9.7b2October29th2008:
>
> Cheers.

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