[Zope] add user from python problem

garry saddington garry at schoolteachers.co.uk
Thu Feb 15 13:31:46 EST 2007


On Thu, 2007-02-15 at 18:58 +0100, Andreas Jung wrote:
> 
> --On 15. Februar 2007 17:34:10 +0000 garry saddington 
> <garry at schoolteachers.co.uk> wrote:
> 
> 
> >
> >
> >
> >         roles='Manager'
> 
> As the name 'roles' indicates you have to specify a sequence of roles
> and not a *single* one.
> 
> -aj
Thanks this has fixed it but I still have questions:
1/Why can I specify only one when adding a user in the ZMI?
2/What if I only want one role for the user?
3/Why does it accept the one role from my script - it is highlighted
when I go to the ZMI?

Regards
Garry



More information about the Zope mailing list