[Zope-dev] roles, permissions problem
Dirk Datzert
dirk.datzert@tks-rasselstein.thyssenkrupp.com
Wed, 10 Jul 2002 23:36:00 +0200
Hi Dieter,
you were right but in a way you will not expect:
I digged into User.py / allowed and their are the user_roles checked
against the object_roles, and in this function the 'Author' is not
user_roles.
But in the AUTHENTICATED_USER / LDAPRoleTwiddler the roles are displayed
correct.
Regards,
Dirk
Dieter Maurer schrieb:
>
> Dirk Datzert writes:
> > ...
> > A product defines a roles 'Author' and the permissions are set as
> > neccessary for this product.
> >
> > I also have LDAPUserFolder installed. The logged on user has the role
> > 'Author' and 'Authenticated'. I detected now that I have to duplicate
> > all permissions for role 'Author' over to role 'Authenticated' to make
> > the product X working right.
> > ...
> > It is totally unbelievable, but the only thing I can guess is 'Auth'
> > enticated or 'Auth'or ? Is there probably a ZODB basic problame with
> > similar role names.
> This is very unlikely.
>
> Much more likely is, that your user does not get the "Author" role,
> even when you think it does.
>
> Dieter