Re: [Zope-dev] REQUEST.AUTHENTICATED_USER question

2002-01-24 Thread Jens Vagelpohl
vio, for your situation the simplest thing would be to use the CookieUserFolder (see http://www.dataflake.org/software/cookieuserfolder) which is as simple as the standard user folder and adds cookie-capability and customizable login and logout forms. no need to get all tripped up in

Re: [Zope-dev] problem in adding objects to the ZCatalog

2002-01-24 Thread Chris McDonough
Hi Sanjay, I *think* this is a bug that was fixed in later versions of 2.4. Would you mind trying out 2.5.0b4? sanjay singh wrote: Hi all, I m installing Zope 4.2.1 on Windows 2000.After getting it installed, and starting , when i try to add objects to the Z Catalog which is

Re: [Zope-dev] getting a dtmlfile from ZODB instead of the file system.

2002-01-24 Thread Gustavo Niemeyer
The problem i have is that the forms for management are always created on the file system, like this: index_html = DTMLFile('www/index_html', globals()) I'm sure you have your reasons. But this don't seem to hurt many people, basically because it's not usual to change management forms

Re: [Zope-dev] REQUEST.AUTHENTICATED_USER question

2002-01-24 Thread vio
Excellent! Precisely what I'm looking for. Thanks! Vio * Jens Vagelpohl [EMAIL PROTECTED] [020124 10:46]: vio, for your situation the simplest thing would be to use the CookieUserFolder (see http://www.dataflake.org/software/cookieuserfolder) which is as simple as the standard user

Re: [Zope-dev] REQUEST.AUTHENTICATED_USER question

2002-01-24 Thread Jens Vagelpohl
vio, make sure you read the README so you don't lock youself out if the login form does not have the correct input fields. jens On Thursday, January 24, 2002, at 10:55 , vio wrote: Excellent! Precisely what I'm looking for. Thanks! Vio * Jens Vagelpohl [EMAIL PROTECTED] [020124 10:46]:

[Zope-dev] Use sql database in ZCatalog

2002-01-24 Thread Howard Zhang
Hi all, Does anyone use sql database to store index and meta data for performance and still provide same zcatlog api to keep compatibility ?. Howard ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

Re: [Zope-dev] REQUEST.AUTHENTICATED_USER question

2002-01-24 Thread Dan L. Pierson
--On Thursday, January 24, 2002 01:35:56 AM -0500 vio [EMAIL PROTECTED] wrote: exUserFolder installed ok, so I'll give it a test drive also. But some hints on debugging LoginMgr would be also appreciated. Personally, I'd stay away from LoginManager. It depends on ZPatterns, a very

Re: [Zope-dev] Product upgrades

2002-01-24 Thread R. David Murray
On Wed, 23 Jan 2002, Max M wrote: Generally Zope uses pickle to save the objects. And pickel will not save the methods, nor the class attributes:: I'm surprised to have seen no mention of __setstate__ in this thread. Is doing simple upgrade-on-the-fly via __setstate__ now considered Bad Form?

Re: [Zope-dev] proxy role inheritence (was REQUEST.AUTHENTICATED_USERquestion)

2002-01-24 Thread R. David Murray
On 24 Jan 2002, Leonardo Rochael Almeida wrote: When you give a method one or more proxy roles, the user that can view/call it assumes these roles instead of his own. That means he has the permissions these proxy roles have, instead of the permissions his own roles would give him (which means

Re: [Zope-dev] Error 11

2002-01-24 Thread Matthew T. Kromer
On Thursday, January 24, 2002, at 12:57 PM, Ahsan Imam wrote: Hey Chris, 1) Installed Python 2.1.2 (with threads and without pymalloc) 2) Got the latest cvs built of zope 2.4. 3) Then compiled zope wo pcgi. 4) Even tried with the Zope 2.5 beta. Zope still keeps restarting every 10 to 15

Re: [Zope-dev] Error 11

2002-01-24 Thread Chris McDonough
I'd suspect mysqlda. - Original Message - From: Ahsan Imam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 3:40 PM Subject: Re: [Zope-dev] Error 11 Setting the variable did not help. I downloaded and built Python 2.1.2 yesterday. Products:

[Zope-dev] How to automatically redirect publishing request to another folder?

2002-01-24 Thread Craeg K. Strong
Hello: We have a Slideshow product that is similar to OrderedFolder in that it maintains an ordered list of contents. Each subfolder represents a slide. To view a particular slide, you navigate to the subfolder, it automatically calls index_html, and there's your slide. All of the slides

Re: [Zope-dev] How to automatically redirect publishing request to another folder?

2002-01-24 Thread Adrian Hungate
Try using a site access rule, it's almost as powerfull as the traversal roulette, but it happens after zope has finished traversing. You could write a Python Script, something like: = import string if string.split(context.REQUEST['PATH_INFO'], '/')[-1] == 'my_parent_folder':