Re: [Zope-CMF] Re: GenericSetup "rolemap" importer does not register new permissions

2008-01-03 Thread Wichert Akkerman
Previously Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Damien Baty (ML) wrote: > > Hello, > > > > Le 27/12/07 9:49, Wichert Akkerman a écrit : > >> Previously Damien Baty (ML) wrote: > >>> [...] > >>> > >>> For the record, I have proposed a patch that let us autom

[Zope-CMF] Re: GenericSetup "rolemap" importer does not register new permissions

2008-01-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Damien Baty (ML) wrote: > Hello, > > Le 27/12/07 9:49, Wichert Akkerman a écrit : >> Previously Damien Baty (ML) wrote: >>> [...] >>> >>> For the record, I have proposed a patch that let us automatically >>> register a permission if the profi

Re: [Zope-CMF] Re: GenericSetup "rolemap" importer does not register new permissions

2008-01-03 Thread Wichert Akkerman
Previously Damien Baty (ML) wrote: > Hello, > > Le 27/12/07 9:49, Wichert Akkerman a écrit : > >Previously Damien Baty (ML) wrote: > >>[...] > >> > >>For the record, I have proposed a patch that let us automatically > >>register a permission if the profile explicitly asks for it, with > >>

Re: [Zope-CMF] Re: GenericSetup "rolemap" importer does not register new permissions

2008-01-03 Thread Damien Baty (ML)
Hello, Le 27/12/07 9:49, Wichert Akkerman a écrit : Previously Damien Baty (ML) wrote: [...] For the record, I have proposed a patch that let us automatically register a permission if the profile explicitly asks for it, with something like: ... ... https://

Re: [Zope-CMF] Re: GenericSetup "rolemap" importer does not register new permissions

2007-12-27 Thread Wichert Akkerman
Previously Damien Baty (ML) wrote: > Hello, > > Le 10/12/07 14:11, Laurence Rowe a écrit : > >Damien Baty (ML) wrote: > >>Hello, > >> > >>I am trying to use GenericSetup to define permissions/roles > >>mappings for a product. As far as I can see, the current version of > >> GenericSetup

Re: [Zope-CMF] Re: GenericSetup "rolemap" importer does not register new permissions

2007-12-26 Thread Damien Baty (ML)
Hello, Le 10/12/07 14:11, Laurence Rowe a écrit : Damien Baty (ML) wrote: Hello, I am trying to use GenericSetup to define permissions/roles mappings for a product. As far as I can see, the current version of GenericSetup does not register the permission if it does not exist. It s

Re: [Zope-CMF] Re: GenericSetup "rolemap" importer does not register new permissions

2007-12-10 Thread Wichert Akkerman
Previously Laurence Rowe wrote: > Damien Baty (ML) wrote: > >Hello, > > > > I am trying to use GenericSetup to define permissions/roles mappings > >for a product. As far as I can see, the current version of GenericSetup > >does not register the permission if it does not exist. It supposes th

[Zope-CMF] Re: GenericSetup "rolemap" importer does not register new permissions

2007-12-10 Thread Laurence Rowe
Damien Baty (ML) wrote: Hello, I am trying to use GenericSetup to define permissions/roles mappings for a product. As far as I can see, the current version of GenericSetup does not register the permission if it does not exist. It supposes that the permission exists and calls 'manage_per