Re: [Repoze-dev] BFG, override configurator settings after Config construction

2010-04-25 Thread Chris McDonough
On 4/25/10 5:25 PM, Wichert Akkerman wrote: On 2010-4-24 19:49, Chris McDonough wrote: Even better, just leave the authentication policy registrations out of ZCML altogether and always pass the authentication and authorization policies to the Configurator constructor instead: config =

Re: [Repoze-dev] BFG, override configurator settings after Config construction

2010-04-25 Thread Shane Hathaway
On 04/25/2010 04:40 PM, Chris McDonough wrote: There's a relationship between the authentication policy and authorization policy (authorization depends on authentication) that makes writing a good docstring for this API a bit tortured. For example: def set_security_policies(self,

Re: [Repoze-dev] BFG, override configurator settings after Config construction

2010-04-24 Thread Chris McDonough
On 4/24/10 2:56 PM, Iain Duncan wrote: Hi folks, I'm wondering if it's possible to change configurator settings after the constructor has fired and a zcml file has been parsed. Specifically I'd like to be able to use my regular zcml file but then turn off the authentication and authorization