Group user authentication conflict bug?
Frank Schimmel <f.schimmel-tvt729N4eQ4hHGrKhHam0bNldLUNz+W/@public.gmane.org>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone!
I am getting a strange error trying to /edit a Publication with
restricted view. We made an ip group with role Viewer for that
Publication so that people from the internal network can view ist
without having to log in explicitely.
But trying to reach the SMI (appending /edit to that Publications URL)
results in an error:
Error Type: AttributeError
Error Value: 'NoneType' object has no attribute 'editor'
The error log tells me that it came from Anonymous User, although
I was already logged in. Seems like only the group is taken into
account?
Removing the groups' role also removes the error, but you have to
provide username and password for viewing the page, of course.
This happend only after upgrading to 1.2. At least all went fine with
1.1.1 as far as I can remember.
Has anyone else seen this?
I just discovered that removing the groups' role also has another
effect: I can't get the public view of anything without
authenticating. Somehow the restriction is not limited to the
Publication. Very strange indeed...
Best regards
-Frank Schimmel