[Checkins] SVN: grokcore.security/branches/1.2/ use zope.security instead of zope.app.security
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Tue Dec 1 14:01:39 EST 2009
Log message for revision 106141:
use zope.security instead of zope.app.security
Changed:
U grokcore.security/branches/1.2/CHANGES.txt
U grokcore.security/branches/1.2/buildout.cfg
U grokcore.security/branches/1.2/setup.py
U grokcore.security/branches/1.2/src/grokcore/security/util.py
-=-
Modified: grokcore.security/branches/1.2/CHANGES.txt
===================================================================
--- grokcore.security/branches/1.2/CHANGES.txt 2009-12-01 18:50:18 UTC (rev 106140)
+++ grokcore.security/branches/1.2/CHANGES.txt 2009-12-01 19:01:39 UTC (rev 106141)
@@ -1,6 +1,11 @@
Changes
=======
+1.3 (unreleased)
+----------------
+
+* Use zope.security instead of zope.app.security.
+
1.2 (2009-09-14)
----------------
Modified: grokcore.security/branches/1.2/buildout.cfg
===================================================================
--- grokcore.security/branches/1.2/buildout.cfg 2009-12-01 18:50:18 UTC (rev 106140)
+++ grokcore.security/branches/1.2/buildout.cfg 2009-12-01 19:01:39 UTC (rev 106141)
@@ -1,6 +1,6 @@
[buildout]
parts = interpreter test
-extends = versions.cfg
+extends = http://grok.zope.org/releaseinfo/grok-1.1a1.cfg
versions = versions
develop = .
Modified: grokcore.security/branches/1.2/setup.py
===================================================================
--- grokcore.security/branches/1.2/setup.py 2009-12-01 18:50:18 UTC (rev 106140)
+++ grokcore.security/branches/1.2/setup.py 2009-12-01 19:01:39 UTC (rev 106141)
@@ -36,7 +36,7 @@
'grokcore.component >= 1.5.1',
'zope.interface',
'zope.component',
- 'zope.app.security',
+ 'zope.security',
'zope.configuration',
'zope.testing',
],
Modified: grokcore.security/branches/1.2/src/grokcore/security/util.py
===================================================================
--- grokcore.security/branches/1.2/src/grokcore/security/util.py 2009-12-01 18:50:18 UTC (rev 106140)
+++ grokcore.security/branches/1.2/src/grokcore/security/util.py 2009-12-01 19:01:39 UTC (rev 106141)
@@ -16,8 +16,8 @@
from martian.error import GrokError
from zope.component import queryUtility
from zope.security.interfaces import IPermission
-from zope.app.security.protectclass import protectName
-from zope.app.security.protectclass import protectSetAttribute
+from zope.security.protectclass import protectName
+from zope.security.protectclass import protectSetAttribute
def protect_getattr(class_, name, permission=None):
"""Install a getattr permission check for the attribute ``name``.
More information about the checkins
mailing list