OK, here's a newbie question if there ever was one: I think I inadvertantly locked myself out of one of the folders of my website-- that is, I somehow don't seem to have the ability to view the ZMI management screens for a certain folder (and all subfolders) and more. I can get into the ZMI for all other folders, just this particular one has a problem. Is there any way to get myself ZMI rights for this folder again, or do I have to blow away the whole directory and recreate it? --dave
Make yourself a Manager within the root folder acl_users of your zope, this will allow you to access all the sub folders. Did you add a site root to the folder you can't access? Sometimes you can get locked out of such folders (not exactly, you have to log in twice) hth Norman -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Dave Lehman Sent: 15 November 2001 21:07 To: zope@zope.org Subject: [Zope] Reset security? OK, here's a newbie question if there ever was one: I think I inadvertantly locked myself out of one of the folders of my website-- that is, I somehow don't seem to have the ability to view the ZMI management screens for a certain folder (and all subfolders) and more. I can get into the ZMI for all other folders, just this particular one has a problem. Is there any way to get myself ZMI rights for this folder again, or do I have to blow away the whole directory and recreate it? --dave _______________________________________________ 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 )
On Thursday 15 November 2001 04:07 pm, Dave Lehman allegedly wrote:
OK, here's a newbie question if there ever was one: I think I inadvertantly locked myself out of one of the folders of my website-- that is, I somehow don't seem to have the ability to view the ZMI management screens for a certain folder (and all subfolders) and more. I can get into the ZMI for all other folders, just this particular one has a problem.
Is there any way to get myself ZMI rights for this folder again, or do I have to blow away the whole directory and recreate it?
--dave
The best way is to create an emergency user which can be used to fix such problems. Emergency users can access and modify anything, but cannot create objects. To create an emergency user, you need to execute the following command in your zope install directory: python zpasswd.py -u emergencyusername -p password access Substitute your own username and password of course. hth, /---------------------------------------------------\ Casey Duncan, Sr. Web Developer National Legal Aid and Defender Association c.duncan@nlada.org \---------------------------------------------------/
participants (3)
-
Casey Duncan -
Dave Lehman -
Norman Khine