[Zope] SimpleUserFolder and local roles
Dieter Maurer
dieter at handshake.de
Fri Nov 14 15:01:09 EST 2003
emf wrote at 2003-11-14 08:56 -0800:
> ...
> Having discovered that I can't seem to assign local roles when using a
> SimpleUserFolder, I'm trying to do whatever it takes for it to work.
>
> The problem is that users in the simple user folder don't show up in the
> list to be assigned roles.
> ...
> This performs two checks; the first is assuming that
> obj.__allow_groups__ is the acl_user folder, and the second is getting
> user_names .
"SimpleUserFolder" must set the "__allow_groups" as it would otherwise
be completely useless: "ZPublisher" uses "__allow_groups" for the
primary authentication.
Therefore, there must be some problem with "user_names".
--
Dieter
More information about the Zope
mailing list