Re: [Zope] SecurityInfo Conflicting security declarations

2006-09-03 Thread Dieter Maurer
beno wrote at 2006-9-2 12:48 -0400:
Hi;
I noticed in my events log the following:

2006-09-02T15:13:50 PROBLEM(100) SecurityInfo Conflicting security 
declarations for getViewTOCValue
--
2006-09-02T15:13:50 PROBLEM(100) SecurityInfo Class 
PloneArticleMultiPage had conflicting security declarations

How do I trouble-shoot these?

The easiest way is to ignore them.
Unless you observe security problems, you need not to worry about them.

A problem can only occur for objects that store the allowed roles
in themselves (in the __roles__) attribute (such as
e.g. DTML object, Page Templates, External Methods and
other Zope site building objects).
For these objects, the security machinery does not know which
allowed roles to store in the object.

(True) methods have the allowed roles stored in their instance objects
and there should not be a problem, although I am not sure that
the code already knows this...


-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] SecurityInfo Conflicting security declarations

2006-09-02 Thread Andreas Jung



--On 2. September 2006 12:48:49 -0400 beno [EMAIL PROTECTED] wrote:


Hi;
I noticed in my events log the following:

2006-09-02T15:13:50 PROBLEM(100) SecurityInfo Conflicting security
declarations for getViewTOCValue
--
2006-09-02T15:13:50 PROBLEM(100) SecurityInfo Class
PloneArticleMultiPage had conflicting security declarations


Either by fixing the double defined security assertions in the related code 
oin your own or contact the author of the related code/product or file a 
bugreport to the corresponding bugtracker.


-aj

ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope  Plone development, Consulting


pgph1lAeY4QFY.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )