Re: [Zope-dev] zpatterns: rackmountables must be of-wrapped

2000-05-25 Thread Phillip J. Eby
At 01:56 PM 5/25/00 +0400, Jephte CLAIN wrote: > >When I don't wrap items like this, I get strange unauthorized errors. >Only the super user can use the items. All the other users (Managers or >not) can't. In normal usage, one only accesses a rack from or in a Specialist. Specialists wrap the obj

Re: [Zope-dev] zpatterns: rackmountables must be of-wrapped

2000-05-25 Thread Jephte CLAIN
"Phillip J. Eby" a écrit : > >So: retrieveItem, createItem use vanilla objects > retrieveItem and createItem are not intended to be public methods; the only > reason they don't begin with an "_" is that I wanted to make it possible > for them to be implemented as DTMLMethods or PythonMethods. you

Re: [Zope-dev] zpatterns: rackmountables must be of-wrapped

2000-05-24 Thread Phillip J. Eby
At 05:33 PM 5/24/00 +0400, Jephte CLAIN wrote: >Hello, > >I believe items got from a rack have to be wrapped in context of the >rack. I've been bitten by this (and it hurts!). When I try to use items >from DTML, only the superuser can use it, even managers can't access the >objects. When I wrap th

[Zope-dev] zpatterns: rackmountables must be of-wrapped

2000-05-24 Thread Jephte CLAIN
Hello, I believe items got from a rack have to be wrapped in context of the rack. I've been bitten by this (and it hurts!). When I try to use items from DTML, only the superuser can use it, even managers can't access the objects. When I wrap the items in the context of the rack, everything is fin