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",
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
[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
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
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")
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")