Zope 2.2.0a1: Objects cannot be owned by the superuser
I was going to try one of my apps on Zope 2.2.0a1 (win32), finding myself in a kind of catch22 situation: I can't get in at all! After installing Zope 2.2.0a1 into a fresh directory, I login under the "superuser" account in order to get to the management screen, but can't create any folder or object. I can add users to the acl_users folder. But how, pray tell, am I expected to trigger an login as a non- superuser user? Usually, I create a folder (or another object) which is restricted to some use; accessing that object triggers the authorization request, i.e. the user/pwd dialog in the browser. In short: I am required to login as a non-superuser in order to create an object, but I am required to create an object in order to login as a non- superuser. Catch22 PS: tried this with WIN2K IE5 -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, <std.disclaimer> __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________
Wolfgang Strobl wrote:
I am required to login as a non-superuser in order to create an object, but I am required to create an object in order to login as a non- superuser. Catch22
Sadly, this is an HTTP limitation, not a Zope one. - Log in as superuser and create a user. - Close all instances of your browser - Log in again, this time as the user you created. It sucks, but it's not Zope's fault... Chris
Wolfgang Strobl wrote:
I am required to login as a non-superuser in order to create an object, but I am required to create an object in order to login as a non- superuser. Catch22
Sadly, this is an HTTP limitation, not a Zope one.
- Log in as superuser and create a user.
I already did that.
- Close all instances of your browser
Ditto.
- Log in again, this time as the user you created.
How? -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, <std.disclaimer> __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________
Wolfgang Strobl wrote:
- Log in again, this time as the user you created.
How?
Fire up your browser and go to the management screen. When it asks for a username and password use the ones for the User you created in acl_users. cheers, Chris PS: Make sure you give the Manager role to the user you create.
On 16 May 2000, 18:25 Chris Withers wrote:
Wolfgang Strobl wrote:
- Log in again, this time as the user you created.
How?
Fire up your browser and go to the management screen.
When it asks for a username and password use the ones for the User you created in acl_users.
Uh, oh. Many thanks, that did the trick. Now that I know it, it seems quite obvious. [...]
PS: Make sure you give the Manager role to the user you create.
Of course. -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, <std.disclaimer> __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________
participants (2)
-
Chris Withers -
Wolfgang Strobl