[Zope3-checkins]
SVN: Zope3/branches/jim-adapter/src/zope/app/security/permission.py
Provide BBB for zope.app.security.permission.
Philipp von Weitershausen
philikon at philikon.de
Wed Apr 12 18:24:16 EDT 2006
Log message for revision 66919:
Provide BBB for zope.app.security.permission.
Changed:
U Zope3/branches/jim-adapter/src/zope/app/security/permission.py
-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/security/permission.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/security/permission.py 2006-04-12 22:17:35 UTC (rev 66918)
+++ Zope3/branches/jim-adapter/src/zope/app/security/permission.py 2006-04-12 22:24:15 UTC (rev 66919)
@@ -23,9 +23,18 @@
from zope.app.i18n import ZopeMessageFactory as _
NULL_ID = _('<permission not activated>')
-#BBB XXX
-#from zope.security.permission import Permission, checkPermission, allPermissions
+##############################################################################
+# BBB 2006/04/03 -- to be removed after 12 months
+import zope.deferredimport
+zope.deferredimport.deprecatedFrom(
+ "It has been moved to zope.security.permission. This reference "
+ "will be gone in Zope 3.5", 'zope.security.permission',
+ 'Permission', 'checkPermission', 'allPermissions'
+ )
+
+##############################################################################
+
class LocalPermission(Persistent, Location):
implements(IPermission)
More information about the Zope3-Checkins
mailing list