Re: [Zope] manage_addFolder unusable from DTML-call?

2000-11-27 Thread Kyler B. Laird
On Sun, 26 Nov 2000 23:22:17 +0100 (CET) you wrote: When I tried to reproduce your problem (ZopeCVS rather than Zope 2.2.4b1), everything worked as it should -- no Unauthorized exception. Indeed, it works for me using a simple CVS version too. Thank you. --kyler

Re: [Zope] manage_addFolder unusable from DTML-call?

2000-11-27 Thread Kyler B. Laird
dtml-call "manage_addFolder('Folder', 'my new folder')" Unauthorized I finally got to the bottom of this. I was running into a ZopeSecurityPolicy problem. It wanted to check the roles of the owner of the executable, but I had deleted the root user folder when I created a Login

[Zope] manage_addFolder unusable from DTML-call?

2000-11-26 Thread Kyler B. Laird
I have a simple DTML method: dtml-var standard_html_header h2dtml-var title_or_id dtml-var document_title/h2 p This is the dtml-var document_id Document in the dtml-var title_and_id Folder. /p p Welcome, dtml-var

Re: [Zope] manage_addFolder unusable from DTML-call?

2000-11-26 Thread Dieter Maurer
Kyler B. Laird writes: I have a simple DTML method: dtml-call "manage_addFolder('Folder', 'my new folder')" I can go through the management interface to create and destroy folders, but as soon as I view this method, (it tries to reauthenticate me and)