[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: [Zope-dev] Fix for Can't Change Image & File Security Settings in Zope 2.2.x
From: Chris Withers <chrisw () nipltd ! com>
Date: 2000-09-29 14:25:56
[Download RAW message or body]
Hi,
You may, like me, have noticed that you can't change security settings
on Image and File objects in Zope 2.2.x.
This is because the __call__ method of these objects was removed by the
appropriate bit of __ac_permissions__ wasn't taken out. The patch in the
PS fixes this...
cheers,
Chris
PS:
===================================================================
RCS file: /cvs-repository/Zope2/lib/python/OFS/Image.py,v
retrieving revision 1.105.2.12
diff -r1.105.2.12 Image.py
169c169
< 'getContentType', '__call__', '')),
---
> 'getContentType', '')),
450c450
< 'getContentType', '__call__', '')),
---
> 'getContentType', '')),
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic