[Zope] MySqlUser Folder problem with local roles

Heimo Laukkanen huima@fountainpark.org
Sun, 30 Sep 2001 16:30:55 +0300


I am using mysqlUserFolder-0.6.0 and got stuck intoa a bad problem with
local roles. When I give a local role for a user from the security tabs,
somehow mysqlUserFolder doesn't respect it at all.

When I write in dtml <dtml-if
"REQUEST['AUTHENTICATED_USER'].has_role('Manager')"> I don't get what I
want, unless the Manager-role is set to the user in the database - and
then that setting is valid for the whole directory-structure, which I
don't want.

Help, anyone?

-huima