Log message for revision 78314:
Merged from old philikon-aq-and-__parent__ branch:
Log message for revision 71221:
Step 2: Make aq_acquire aware of __parent__ pointers, even if the object
isn't acquisition wrapped.
Log message for revision 71223:
Add another test that tests
Log message for revision 78318:
Merged from old philikon-aq-and-__parent__ branch:
Log message for revision 71227:
Step 4: Make aq_get aware of __parent__ pointers.
(Also some comment cosmetics in _Acquisition.c)
Log message for revision 71228:
Test aq_parent property as
Log message for revision 78319:
Merged from old philikon-aq-and-__parent__ branch:
Log message for revision 77024:
Read that mail again, we agreed on raising an AttributeError instead of
returning None.
Changed:
U
Summary of messages to the zope-tests list.
Period Mon Jul 23 12:00:00 2007 UTC to Tue Jul 24 12:00:00 2007 UTC.
There were 5 messages: 5 from Zope Unit Tests.
Tests passed OK
---
Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Jul 23 20:52:21 EDT 2007
snip
- Original Message -
From: kamal hamzat [EMAIL PROTECTED]
To: zope@zope.org
Sent: Monday, July 23, 2007 10:54 PM
Subject: [Zope] IndexError
I am having IndexError in some of my folders when i tried to view the
content of Zcatalog created in these folders, but to my surprise this
Hi all!
How can I declare a product's constructor public?
Thanks!
--
Mis Cosas
http://blogs.sistes.net/Garito
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
+---[ Garito ]--
| Hi all!
|
| How can I declare a product's constructor public?
|
| Thanks!
You have to declare a permission first such as: Add Garito Product when you
create your product, and register the class.
Then in the ZMI you simply add the roles you want access
Hi Andrew!
In a normal method inside the product's class I use this:
security = ClassSecurityInfo()
security.setPermissionDefault('Freemind', ('Manager', 'Developer'))
security.declareProtected('Freemind', 'freemind')
But outside the class I have no idea how to create security object
Can I put
Hi.
I created a ZODB FileStorage inspection tool which originaly derived from
netspace.py (as of zope 2.8.8). I was especially interested in actual object
content, so this script offers the possibility to hex dump objects, and
exports some more knobs (recursion depth, subtree selection, more
Garito wrote:
Hi Andrew!
In a normal method inside the product's class I use this:
security = ClassSecurityInfo()
security.setPermissionDefault('Freemind', ('Manager', 'Developer'))
security.declareProtected ('Freemind', 'freemind')
But outside the class I have no idea how to create security
Hi, J Cameron!
With constructor I mean the function I use to create the object. In this
case:
context.manage_addProduct['Yanged'].CrearYanged(NuevaId)
CrearYanged
How can I convert it to public?
Thanks!
2007/7/24, J Cameron Cooper [EMAIL PROTECTED]:
Garito wrote:
Hi Andrew!
In a normal
- Original Message -
From: Garito [EMAIL PROTECTED]
To: zope@zope.org
Sent: Tuesday, July 24, 2007 10:44 AM
Subject: Re: [Zope] Re: Declare constructor as public
Hi, J Cameron!
With constructor I mean the function I use to create the object. In this
case:
Now the problem is with a manager user too (yesterday this user works ok)
I try to inspect the process to see where it fails but seems to be ok
The error is raised when Zope try to commit the changes
This is the traceback:
Traceback (innermost last):
Module ZPublisher.Publish, line 121, in
- Original Message -
From: Garito [EMAIL PROTECTED]
To: Jonathan [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Tuesday, July 24, 2007 11:47 AM
Subject: Re: [Zope] Re: Declare constructor as public
Now the problem is with a manager user too (yesterday this user works ok)
I try to inspect
Hi again!
I detect some clues for the problem:
I use ExUserFolder as acl_user for the website who raises this error
The problem only raises if I'm authenticated as an user of the ExUserFolder
not if I'm authenticated as a root acl_user's user
In both cases the user has manager as roles but the
Hi, Jonathan!
Please, read my last message with the XUF consideration
Thanks!
2007/7/24, Jonathan [EMAIL PROTECTED]:
- Original Message -
From: Garito [EMAIL PROTECTED]
To: Jonathan [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Tuesday, July 24, 2007 11:47 AM
Subject: Re: [Zope] Re:
+---[ Garito ]--
| Hi again!
| I detect some clues for the problem:
|
| I use ExUserFolder as acl_user for the website who raises this error
|
| The problem only raises if I'm authenticated as an user of the ExUserFolder
not
| if I'm authenticated as a root acl_user's
Sorry for the private message, Andrew
It seems like with the XUF user's roles don't work ok or something like this
2007/7/24, Andrew Milton [EMAIL PROTECTED]:
+---[ Garito ]--
| Hi again!
| I detect some clues for the problem:
|
| I use ExUserFolder as acl_user for the
No
If I try this the call don't work with users in normal acl_user folder,
isn't it?
The call works ok with users stored in the root acl_user
2007/7/24, Andrew Milton [EMAIL PROTECTED]:
+---[ Garito ]--
| Hi again!
| I detect some clues for the problem:
|
| I use
BlankHi,
I am trying to update the 'SiteRootBase' in the secure.xml file and do import
in zope , but I get error as shown in the screenshot.
I did same with secure.zexp and another error : cannot convert long int , i
face when i import that file.
Why zope2.8.5 does not allow importing
20 matches
Mail list logo