[Zope3-checkins] CVS: Zope3/src/zope/app/security - configure.zcml:1.1.2.2 protectclass.py:1.1.2.2

Jim Fulton jim@zope.com
Tue, 24 Dec 2002 07:51:46 -0500


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

Modified Files:
      Tag: NameGeddon-branch
	configure.zcml protectclass.py 
Log Message:
Searched for and changed over 1200 references to Zope.something.

Most of these were either comments, doc strings, or permission ids.

Many were imports or ids in zcml.  (much zcml fixup is still needed.



=== Zope3/src/zope/app/security/configure.zcml 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/security/configure.zcml:1.1.2.1	Mon Dec 23 14:32:15 2002
+++ Zope3/src/zope/app/security/configure.zcml	Tue Dec 24 07:51:16 2002
@@ -7,46 +7,46 @@
 
   <!-- Standard Permissions -->
 
-  <permission id="Zope.View"
+  <permission id="zope.View"
                        title="View"
                        />
 
-  <permission id="Zope.Security"
+  <permission id="zope.Security"
                        title="Change security settings"
                        />
 
-  <permission id="Zope.ManageContent" 
+  <permission id="zope.ManageContent" 
                        title="Manage Content"
                        />
 
-  <permission id="Zope.ManageBindings" 
+  <permission id="zope.ManageBindings" 
                        title="Manage Service Bindings"
                        />
 
-  <permission id="Zope.ManageCode" 
+  <permission id="zope.ManageCode" 
                        title="Manage Code"
                        description="Manage executable code, including
                                     Python, SQL, ZPT, etc."
                         />
 
-  <permission id="Zope.ManageServices" 
+  <permission id="zope.ManageServices" 
                        title="Manage Services"
                         />
 
   <!-- XXX What is this for? -->
-  <permission id="Zope.ManageApplication" 
+  <permission id="zope.ManageApplication" 
                        title="Manage Application"
                        />
 
   <!-- XXX What is this for? -->
-  <permission id="Zope.I18n" 
+  <permission id="zope.I18n" 
                        title="Use Internationalization (?XXX)"
                        />
 
   <include package=".Grants" />
 
   <securityPolicy 
-      name="Zope.App.Security.ZopeSecurityPolicy.zopeSecurityPolicy" />
+      name="zope.app.security.zopesecuritypolicy.zopeSecurityPolicy" />
 
   <adapter factory="zope.app.security.basicauthadapter.BasicAuthAdapter"
            provides="zope.app.interfaces.security.ILoginPassword"


=== Zope3/src/zope/app/security/protectclass.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/security/protectclass.py:1.1.2.1	Mon Dec 23 14:32:15 2002
+++ Zope3/src/zope/app/security/protectclass.py	Tue Dec 24 07:51:16 2002
@@ -36,7 +36,7 @@
         checker = Checker({}.get, {}.get)
         defineChecker(class_, checker)
 
-    if permission == 'Zope.Public':
+    if permission == 'zope.Public':
         # Translate public permission to CheckerPublic
         permission = CheckerPublic
 
@@ -54,7 +54,7 @@
         checker = Checker({}.get, {}.get)
         defineChecker(class_, checker)
 
-    if permission == 'Zope.Public':
+    if permission == 'zope.Public':
         # Translate public permission to CheckerPublic
         permission = CheckerPublic