[Zope-CVS] CVS: Packages/JobBoardEx - Tutorial.html:1.17 configure.zcml:1.3

Guido van Rossum guido@python.org
Mon, 17 Jun 2002 16:53:06 -0400


Update of /cvs-repository/Packages/JobBoardEx
In directory cvs.zope.org:/tmp/cvs-serv30603

Modified Files:
	Tutorial.html configure.zcml 
Log Message:
Use Zope.View instead of Zope.Public

=== Packages/JobBoardEx/Tutorial.html 1.16 => 1.17 ===
               for=".IJob."
               template="JobView.pt"
-              permission="Zope.Public" 
+              permission="Zope.View" 
               />
 </pre>
 
@@ -157,8 +157,8 @@
 to objects implementing the IJob interface (in our case, instances of
 the Job class).  The view is implemented by the page template
 JobView.pt; we'll see other ways to implement view later.  This view
-requires the permission Zope.Public, a fancy way to say that anyone
-can view the job; more about permissions later.
+requires the permission Zope.View, a fancy way to say that anyone
+who can view the site can view the job; more about permissions later.
 
 <p>Another configuration directive tells Zope that this is the default
 view for such objects:
@@ -226,7 +226,7 @@
 &lt;browser:view name="index.html"
               for=".IJobList."
               template="JobListView.pt"
-              permission="Zope.Public" 
+              permission="Zope.View" 
               />
 
 &lt;browser:defaultView for=".IJobList."


=== Packages/JobBoardEx/configure.zcml 1.2 => 1.3 ===
               for=".IJobList."
               template="JobListView.pt"
-              permission="Zope.Public" 
+              permission="Zope.View" 
               />
 
 <browser:defaultView for=".IJobList."
@@ -29,7 +29,7 @@
 
 <browser:view for=".IJobList."
               factory=".JobCreateView."
-              permission="Zope.Public"
+              permission="Zope.View"
               >
 
   <browser:page name="edit.html"     attribute="edit" />
@@ -41,7 +41,7 @@
 <browser:view name="index.html"
               for=".IJob."
               template="JobView.pt"
-              permission="Zope.Public" 
+              permission="Zope.View" 
               />
 
 <browser:defaultView for=".IJob."