Dieter Maurer wrote:
[snip]
Now replace the line security.declarePublic('getTitle') with something like
security.declareProtected('View', 'getTitle'), and suddenly nobody is
allowed to call getTitle() on a Book object anymore.
You must acquistion wrap your book objects. Otherwise,
Aah, of course, makes sense. They should put this in the developer's guide!
The thing that tripped me up is that it works at all for declarePublic. :)
Martijn,
I can put it in the developer's guide.. maybe the next time you're
through there, you can add a comment with the issue and we can
Hi,
I want to transmit the data of a (probably large) Pdata object (Zope module OSF/Image)
over a
TCP/IP socket using sock.send(). Is there a stream-like wrapper class for Pdata in
Zope?
Any thoughts?
Niels
___
Zope-Dev maillist - [EMAIL
I think you're going to need to roll your own here... I know of no wrapper
class for pdata that makes it appear to be streamlike...
Sorry,
- C
- Original Message -
From: Niels Mache [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 04, 2002 11:41 AM
Subject: [Zope-dev]
Hi,
Has anybody successfully installed LDAPUserFolder
on Zope2.5.0b2 (on Linux). When I compile python-ldap module and install it
alongwith LDAPUserFolder, it shows as a installed product in the Zope management
screen, but when I try to connect to the LDAP server (openldap 2.0.18) also
i have it running on 2.5beta3 without a problem. try upgrading your zope.
jens
On Friday, January 4, 2002, at 02:29 , Peeyush Garg wrote:
Hi,
Has anybody successfully installed LDAPUserFolder on Zope2.5.0b2 (on
Linux). When I compile python-ldap module and install it alongwith
Martijn Faassen writes:
Dieter Maurer wrote:
[snip]
Now replace the line security.declarePublic('getTitle') with something like
security.declareProtected('View', 'getTitle'), and suddenly nobody is
allowed to call getTitle() on a Book object anymore.
You must acquistion wrap
The basic security mechanism uses the attribute m__roles__ in order
to protect m. If this attribute it None, then m is public.
Otherwise, it is expected to be a sequence of roles that are allowed
to use m.
But, ExtensionsClass brings with it computed attributes. This allows
m__roles__ to
I have added this nugget of knowledge as a comment to the ZDG.
John Ziniti wrote:
The basic security mechanism uses the attribute m__roles__ in order
to protect m. If this attribute it None, then m is public.
Otherwise, it is expected to be a sequence of roles that are allowed
to use m.
For what it's worth:
Today I helped Jens track down a problem under FreeBSD where Zope was
crashing rendering a page which rendered successfully on other systems.
It turns out that the default stack size for a thread under FreeBSD is
64K, and that's not enough stack space to render this
Hi Jens,
I get the same error message with installation of 2.5.0b3. Do you have the
latest files checked out for python-ldap module? Any other clues? I've tried
several combinations and not any luck yet.
~Peeyush.
- Original Message -
From: Jens Vagelpohl [EMAIL PROTECTED]
To: Peeyush
i only ever use python-ldap 1.10alpha3, that's all i test against because
it's a known quantity. anything else is way too much in flux.
jens
On Friday, January 4, 2002, at 05:25 , Peeyush Garg wrote:
Hi Jens,
I get the same error message with installation of 2.5.0b3. Do you have the
12 matches
Mail list logo