Commit 86774ca9 authored by 's avatar

*** empty log message ***

parent 8799e285
...@@ -13,8 +13,8 @@ Zope changes ...@@ -13,8 +13,8 @@ Zope changes
release. Change information for older versions is now in release. Change information for older versions is now in
the file HISTORY.txt. the file HISTORY.txt.
- Added support for mountable databases. A separate product - Added basic internal support for mountable databases. A separate
will still be required to make use of this ability. product will still be required to make use of this ability.
Bugs Fixed Bugs Fixed
...@@ -51,5 +51,16 @@ Zope changes ...@@ -51,5 +51,16 @@ Zope changes
- A problem that caused the query template for an SQL method to - A problem that caused the query template for an SQL method to
be rendered twice when used from the "test" tab has been fixed. be rendered twice when used from the "test" tab has been fixed.
- Fix for bug #1270: Netscape Image Problems. Added casts to long
to avoid an overflow error caused when trying to convert dates
sent by certain versions of Netscape in the If-Modified-Since
header.
- Corrected DateTime.py to recognize years specified as 00 through - Corrected DateTime.py to recognize years specified as 00 through
69 as 2000 through 2069. 69 as 2000 through 2069.
- A bug that made objects named in dtml namespaces always fail
security validation was fixed. This was noticed by folks trying
to use manage_tabs from ZClasses who hit the bug because the
manage_tags document uses a namespace:
<dtml-with "_(manage_options=...">
...@@ -85,14 +85,15 @@ ...@@ -85,14 +85,15 @@
__doc__='''Define Zope\'s default security policy __doc__='''Define Zope\'s default security policy
$Id: ZopeSecurityPolicy.py,v 1.3 2000/05/24 20:53:33 shane Exp $''' $Id: ZopeSecurityPolicy.py,v 1.4 2000/05/25 18:34:08 brian Exp $'''
__version__='$Revision: 1.3 $'[11:-2] __version__='$Revision: 1.4 $'[11:-2]
import SimpleObjectPolicies import SimpleObjectPolicies
_noroles=[] _noroles=[]
from PermissionRole import _what_not_even_god_should_do, rolesForPermissionOn from PermissionRole import _what_not_even_god_should_do, rolesForPermissionOn
class ZopeSecurityPolicy: class ZopeSecurityPolicy:
def validate(self, accessed, container, name, value, context, def validate(self, accessed, container, name, value, context,
...@@ -101,6 +102,7 @@ class ZopeSecurityPolicy: ...@@ -101,6 +102,7 @@ class ZopeSecurityPolicy:
Containers=SimpleObjectPolicies.Containers, Containers=SimpleObjectPolicies.Containers,
valid_aq_=('aq_parent','aq_explicit')): valid_aq_=('aq_parent','aq_explicit')):
############################################################ ############################################################
# Provide special rules for the acquisition attributes # Provide special rules for the acquisition attributes
if type(name) is StringType: if type(name) is StringType:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment