Skip to content

Commit

Permalink
Drop Record dependency, closes #34.
Browse files Browse the repository at this point in the history
This requires Record 3.3, which is already part of the Zope master KGS.
  • Loading branch information
hannosch committed May 6, 2017
1 parent 36d9b64 commit c8c57f2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Expand Up @@ -6,7 +6,7 @@ For changes before version 3.0, see ``HISTORY.rst``.
4.0a6 (unreleased)
------------------

- Nothing changed yet.
- Drop `Record` dependency, which now does its own security declaration.


4.0a5 (2017-05-05)
Expand Down
1 change: 0 additions & 1 deletion setup.py
Expand Up @@ -71,7 +71,6 @@
'DateTime', # optional dependency of RestrictedPython
'ExtensionClass>=4.2.1',
'Persistence>=3.0a3',
'Record',
'RestrictedPython >= 4.0a1',
'six',
'transaction',
Expand Down
6 changes: 0 additions & 6 deletions src/AccessControl/SimpleObjectPolicies.py
Expand Up @@ -60,14 +60,8 @@
from BTrees.OOBTree import OOBucket
from BTrees.OOBTree import OOSet

import Record


_noroles = [] # this is imported in various places

# Allow access to unprotected attributes
Record.Record.__allow_access_to_unprotected_subobjects__ = 1

# ContainerAssertions are used by cAccessControl to check access to
# attributes of container types, like dict, list, or string.
# ContainerAssertions maps types to a either a dict, a function, or a
Expand Down

0 comments on commit c8c57f2

Please sign in to comment.