[Checkins] SVN: grokcore.security/trunk/ use zope.security instead of zope.app.security
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Tue Dec 1 14:09:54 EST 2009
Log message for revision 106142:
use zope.security instead of zope.app.security
Changed:
U grokcore.security/trunk/CHANGES.txt
U grokcore.security/trunk/buildout.cfg
U grokcore.security/trunk/setup.py
U grokcore.security/trunk/src/grokcore/security/util.py
-=-
Modified: grokcore.security/trunk/CHANGES.txt
===================================================================
--- grokcore.security/trunk/CHANGES.txt 2009-12-01 19:01:39 UTC (rev 106141)
+++ grokcore.security/trunk/CHANGES.txt 2009-12-01 19:09:54 UTC (rev 106142)
@@ -4,9 +4,8 @@
1.4 (unreleased)
----------------
-- Nothing changed yet.
+* Use zope.security instead of zope.app.security.
-
1.3 (2009-09-16)
----------------
Modified: grokcore.security/trunk/buildout.cfg
===================================================================
--- grokcore.security/trunk/buildout.cfg 2009-12-01 19:01:39 UTC (rev 106141)
+++ grokcore.security/trunk/buildout.cfg 2009-12-01 19:09:54 UTC (rev 106142)
@@ -1,7 +1,7 @@
[buildout]
develop = .
parts = interpreter test
-extends = http://grok.zope.org/releaseinfo/grok-1.0b1.cfg
+extends = http://grok.zope.org/releaseinfo/grok-1.1a1.cfg
versions = versions
[versions]
Modified: grokcore.security/trunk/setup.py
===================================================================
--- grokcore.security/trunk/setup.py 2009-12-01 19:01:39 UTC (rev 106141)
+++ grokcore.security/trunk/setup.py 2009-12-01 19:09:54 UTC (rev 106142)
@@ -36,7 +36,7 @@
'grokcore.component >= 2.0',
'zope.interface',
'zope.component',
- 'zope.app.security',
+ 'zope.security',
'zope.configuration',
'zope.testing',
],
Modified: grokcore.security/trunk/src/grokcore/security/util.py
===================================================================
--- grokcore.security/trunk/src/grokcore/security/util.py 2009-12-01 19:01:39 UTC (rev 106141)
+++ grokcore.security/trunk/src/grokcore/security/util.py 2009-12-01 19:09:54 UTC (rev 106142)
@@ -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