Hi all,

I'm testing identity but it don't work right when I try it with
Catwalk. I can protect Admin/index but I can't protect Admin/CatW. Am I
missing something?

Thanks,
Helio Pereira
"""
...
class Admin(controllers.Controller, identity.SecureResource):
    require = identity.in_group("admin")

    @expose(content_type='text/plain')
    def index(self):
        return "Testing Identity..."

    CatW = CatWalk(model, allowedHosts=['127.0.0.1','192.168.1.1'])


class Root(controllers.RootController):
    @expose(template="teste01.templates.index")
    def index(self):
        return dict()

    Admin = Admin()

    ...
"""


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

Reply via email to