[Zope3-checkins] CVS: Zope3/src/zope/app/utilities - permission_edit.pt:1.1.2.2 schema.py:1.1.2.11

Sidnei da Silva sidnei at x3ng.com.br
Wed Aug 13 12:46:45 EDT 2003


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

Modified Files:
      Tag: dreamcatcher-ttwschema-branch
	permission_edit.pt schema.py 
Log Message:
Finished Schema Permissions screen

=== Zope3/src/zope/app/utilities/permission_edit.pt 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/utilities/permission_edit.pt:1.1.2.1	Wed Aug 13 11:36:28 2003
+++ Zope3/src/zope/app/utilities/permission_edit.pt	Wed Aug 13 11:46:39 2003
@@ -1,10 +1,4 @@
 <html metal:use-macro="views/standard_macros/page">
- <head>
-  <title metal:fill-slot="title" i18n:translate="">
-    Process Definition <-> Content Type Registry
-  </title>
-</head>
-
 <body>
 <div metal:fill-slot="body">
 
@@ -12,7 +6,8 @@
      tal:condition="status"
      tal:content="status" />
 
-  <form action="./@@edit.html" method="POST">
+  <form action="./@@edit.html" 
+        tal:attributes="action request/URL" method="POST">
     <h3 tal:content="view/label">Label</h3>
 
     <tal:block define="widgets view/getPermissionWidgets"


=== Zope3/src/zope/app/utilities/schema.py 1.1.2.10 => 1.1.2.11 ===
--- Zope3/src/zope/app/utilities/schema.py:1.1.2.10	Wed Aug 13 11:44:05 2003
+++ Zope3/src/zope/app/utilities/schema.py	Wed Aug 13 11:46:39 2003
@@ -176,8 +176,6 @@
         schema = self.context
         for name, field in getFieldsInOrder(schema):
             # Try to get current settings
-            if not hasattr(self.context, 'schemaPermissions'):
-                removeAllProxies(self.context).schemaPermissions = PersistentDict()
             if self.context.schemaPermissions.has_key(name):
                 get_perm, set_perm = self.context.schemaPermissions[name]
             else:




More information about the Zope3-Checkins mailing list