I tried to use config.set_default_permission with repoze.bfg 1.3b1, but 
it appears to do very little. My code looks like this:

   config.set_default_permission("authenticated")
   config.scan()
   config.add_route("shop+category+article+detail",
                    "/shop/:category/detail/:id",
                    factory=factories.ArticleFactory)
   config.add_route(...)

When I run the app with BFG_DEBUG_AUTHORIZATION=1 no permissions are 
hooked up to the views:

2010-10-26 09:38:19,943 debug_authorization of url 
http://localhost:5000/shop/top/detail/2323 (view name u'' against 
context <Article id=2323 modified=2010-09-13T17:05:05.844647>): Allowed 
(no permission registered)

Wichert.
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to