[Zope3-Users] Group membership based on authenticator

2006-01-31 Thread Marko Mikulicic

Hello,

I've created a pluggable authentication utility instance with a  
principal folder and a group folder.
I've managed to manually map users created in the principal folder to  
a single group and then grant roles to this group


Is it possible to assign membership to the group based only on the  
principal folder (id or prefix)


I've found that I could do:

subscriber
   for=zope.app.authentication.interfaces.IPrincipalCreated
   handler=.mytest.principalCreated
   /

and then if the prefix of the event.principal.id is what I like  
then add some group to it, but I don't like the solution

Is it possible to do it with the managemente interface?

I'm new to zope3 and I have problems finding docs about this.

Thanks
marko
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Visionaire! (All your problems, solved)

2006-03-02 Thread Marko Mikulicic


On 02.03.2006., at 12:41, Peter Bengtsson wrote:


I'm with Max on this one.

What's the point? To save a few megabytes of harddisk space?
If you don't want the zope.bobo part of your zope3, ignore it. You
don't have to use it if you don't want to.


not sure of what to think about this vision but the idea may be seen  
from a naming and documentation stand point.
I don't think there is a particulary need to phisically split the  
distribution, various zope subpackages are already quite independent  
from each other,
but a simple naming of layers of the entiere framework could be  
helpful to describe to a beginner how to approach to a given problem,  
and a set of instance installation scripts that will create the base  
for it.


--
marko
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users