[Repoze-dev] set_default_permission not working?

2010-10-26 Thread Wichert Akkerman
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",

Re: [Repoze-dev] set_default_permission not working?

2010-10-26 Thread Wichert Akkerman
On 10/26/10 09:42 , Wichert Akkerman wrote: > 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+det

[Repoze-dev] BFG 1.3b1: view_execution_permitted is inconsistent

2010-10-26 Thread Shane Hathaway
[The BFG Trac instance seems to be in disrepair, so I'm re-reporting this here.] The application below should disallow the user from seeing the view named "x", while allowing the user to see the view named "test", which uses view_execution_permitted() to show whether the user is allowed to see

Re: [Repoze-dev] BFG 1.3b1: view_execution_permitted is inconsistent

2010-10-26 Thread Chris McDonough
On Tue, 2010-10-26 at 02:54 -0600, Shane Hathaway wrote: > [The BFG Trac instance seems to be in disrepair, so I'm re-reporting > this here.] > > The application below should disallow the user from seeing the view > named "x", while allowing the user to see the view named "test", which > uses v

Re: [Repoze-dev] set_default_permission not working?

2010-10-26 Thread Chris McDonough
On Tue, 2010-10-26 at 10:30 +0200, Wichert Akkerman wrote: > On 10/26/10 09:42 , Wichert Akkerman wrote: > > 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")

Re: [Repoze-dev] set_default_permission not working?

2010-10-26 Thread Chris McDonough
On Tue, 2010-10-26 at 10:30 +0200, Wichert Akkerman wrote: > On 10/26/10 09:42 , Wichert Akkerman wrote: > > 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")