Hello, I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ? Thank you very much
Sal, You need to create a normal user with a role of 'Manager'. This will allow you to create things to your hearts wotsit. In the Zope management screen, click on acl_users and follow the instructions. Just one thing, make sure you select Manager from the list of roles, the list is just the possibles. hth Phil ----- Original Message ----- From: "Salvatore DIDIO" <salvatore.didio@wanadoo.fr> To: "Zope" <zope@zope.org> Sent: Sunday, October 22, 2000 9:41 PM Subject: [Zope] Creating Object | Hello, | | I am new to Zope | I've just installed Zope on Linux. I just can't create any object !. | I receive the following message : | the object can not be owned by the superuser | (line 217 in file Owned.py) | Could someone help me ? | | Thank you very much | | | | _______________________________________________ | Zope maillist - Zope@zope.org | http://lists.zope.org/mailman/listinfo/zope | ** No cross posts or HTML encoding! ** | (Related lists - | http://lists.zope.org/mailman/listinfo/zope-announce | http://lists.zope.org/mailman/listinfo/zope-dev )
Salvatore DIDIO wrote:
Hello,
I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ?
Thank you very much
i feel for you, in zope 2.2 and above the initial account, the superuser, isn't allowed to create/own objects. what you're supposed to do is create a new user in the acl_users of the root directory which will be your first working account. after you create a user in acl_users, logout by shutting down the browser and than try logging into the system with a new browser. you can escape shutting down the browser by editing one of the existing methods to have this section of code. when asked to reauthenticate type in the name of the new user. than click cancel and reload the /manage page, you should be able to login as the new user. <dtml-raise Unauthorized> Log out </dtml-raise> Cheers Kapil
You can't create an object as superuser. Create another user in acl_users with 'manager' group and log in as them (you will probably have to reboot your browser). J At 10:41 PM +0200 10/22/2000, Salvatore DIDIO wrote:
Hello,
I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ?
Thank you very much
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
You're logged into the zope management interface as superuser. To change this, create a user in the root acl_users folder, giving it a username and password, and the manager and owner roles. Now restart your browser, go to the management interface, and log in as the user you just created. You should be able to create objects. Mark
Hello,
I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ?
Thank you very much
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (5)
-
Ender -
J. Atwood -
Mark N. Gibson -
Phil Harris -
Salvatore DIDIO