[Zope3-Users] zcml grants for plugin-auth'ed principals?

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Oct 8 21:09:35 EDT 2005


On Thursday 06 October 2005 18:19, Dylan Reinhardt wrote:
> I'm using an ldap auth source for my principals and have been
> assigning roles & permissions TTW.  This all works great, but I'd
> really like to manage it in ZCML longer-term.
>
> The obvious difficulty I'm having is that my ldap users don't exist at
> the point where the ZCML is being loaded in.  Has anyone devised a
> work-around for this?

Why do you want to do this? ZCML is meant for bootstrapping and not managing 
users. One thing you could do is to generate the ZCML before starting Zope 
using the LDAP module.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list