[Zope3-checkins] CVS: Zope3/src/zope/app/security - configure.zcml:1.10 meta.zcml:1.6 settings.py:1.3 role.py:NONE zopepolicy.py:NONE

Chris McDonough chrism at plope.com
Wed Jan 14 17:55:54 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/security
In directory cvs.zope.org:/tmp/cvs-serv5558/src/zope/app/security

Modified Files:
	configure.zcml meta.zcml settings.py 
Removed Files:
	role.py zopepolicy.py 
Log Message:
Merge security policy refactoring:

 - Moved all role- and grant-related functionality into
   zope.products.securitypolicy (and out of zope.app.security.grant).
   The zope.products.securitypolicy implementation is exactly
   the same as the old implementation; no changes were made
   to the actual mechanics of role-permission or principal-permission
   grants.  The only real difference is that all functionality
   that is the purview of what we want a security policy to have
   control of is now in that one place.

 - Created new modulealias directive which can be used to provide
   aliases to older modules (to not break existing ZODBs when
   module locations change).

 - Added minor feature: "make debug" launches a debug session in the
   spirit of Zope 2's "zopectl debug".
   


=== Zope3/src/zope/app/security/configure.zcml 1.9 => 1.10 ===
--- Zope3/src/zope/app/security/configure.zcml:1.9	Tue Sep  2 16:46:17 2003
+++ Zope3/src/zope/app/security/configure.zcml	Wed Jan 14 17:55:23 2004
@@ -49,11 +49,6 @@
                    packing the ZODB." 
       />
 
-  <include package=".grants" />
-
-  <securityPolicy 
-      component="zope.app.security.zopepolicy.zopeSecurityPolicy" 
-      />
 
   <adapter 
       factory="zope.app.security.basicauthadapter.BasicAuthAdapter"


=== Zope3/src/zope/app/security/meta.zcml 1.5 => 1.6 ===
--- Zope3/src/zope/app/security/meta.zcml:1.5	Tue Sep  2 16:47:05 2003
+++ Zope3/src/zope/app/security/meta.zcml	Wed Jan 14 17:55:23 2004
@@ -3,7 +3,6 @@
     xmlns:meta="http://namespaces.zope.org/meta">
 
   <include package=".registries" file="meta.zcml" />
-  <include package=".grants" file="meta.zcml" />
 
   <meta:directive
       name="securityPolicy"


=== Zope3/src/zope/app/security/settings.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/security/settings.py:1.2	Wed Dec 25 09:13:16 2002
+++ Zope3/src/zope/app/security/settings.py	Wed Jan 14 17:55:23 2004
@@ -63,4 +63,4 @@
     'Explicit deny setting for permissions')
 
 Unset = PermissionSetting('Unset',
-    'Unset constant that denotes no setting for permission and role')
+    'Unset constant that denotes no setting for permission')

=== Removed File Zope3/src/zope/app/security/role.py ===

=== Removed File Zope3/src/zope/app/security/zopepolicy.py ===




More information about the Zope3-Checkins mailing list