[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - PermissionRegistry.py:1.1.2.4 __init__.py:1.1.2.2 metaConfigure.py:1.1.2.6
Tres Seaver
tseaver@zope.com
Tue, 20 Nov 2001 10:05:57 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv29829/lib/python/Zope/App/Security
Modified Files:
Tag: Zope-3x-branch
PermissionRegistry.py __init__.py metaConfigure.py
Log Message:
- Yeehaw!
=== Zope3/lib/python/Zope/App/Security/PermissionRegistry.py 1.1.2.3 => 1.1.2.4 ===
# FOR A PARTICULAR PURPOSE.
+""" Global permission registry. """
+
_permissions={}
def definePermission(name):
=== Zope3/lib/python/Zope/App/Security/__init__.py 1.1.2.1 => 1.1.2.2 ===
+# Version 1.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+
+""" Zope Security Architecture """
=== Zope3/lib/python/Zope/App/Security/metaConfigure.py 1.1.2.5 => 1.1.2.6 ===
# FOR A PARTICULAR PURPOSE.
+""" Register security related configuration directives """
+
from Zope.Configuration import namespace
from Zope.Configuration.meta import register
from PermissionRegistry import definePermission
-
def metaConfigure():
register(namespace('security'), 'definePermission', definePermission)