[Zope-CVS] CVS: Packages/JobBoardEx/Views/Browser - browser.zcml:1.4
Guido van Rossum
guido@python.org
Wed, 20 Mar 2002 18:06:16 -0500
Update of /cvs-repository/Packages/JobBoardEx/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv12254
Modified Files:
browser.zcml
Log Message:
Add comments. Still missing is a security assertion for the
JobListSummaryView.
=== Packages/JobBoardEx/Views/Browser/browser.zcml 1.3 => 1.4 ===
>
+<!-- ApproveJobs -->
+
<security:protectClass name=".JobBoardEx.Views.Browser.ApproveJobs."
permission_id="Zope.View"
methods="index, cancel, submit"
@@ -13,10 +15,16 @@
name="ApproveJobs"
factory=".JobBoardEx.Views.Browser.ApproveJobs." />
+<!-- Summary -->
+
+<!-- XXX security missing -->
+
<browser:defaultView for=".JobBoardEx.IJobList."
name="summary"
factory=".JobBoardEx.Views.Browser.JobListView.JobListSummaryView" />
+<!-- JobView -->
+
<security:protectClass name=".JobBoardEx.Views.Browser.JobView."
permission_id="Zope.View"
methods="index, simpleView,
@@ -27,6 +35,8 @@
<browser:view for=".JobBoardEx.IJob."
name="JobView"
factory=".JobBoardEx.Views.Browser.JobView." />
+
+<!-- NewJob -->
<security:protectClass name=".JobBoardEx.Views.Browser.NewJob."
permission_id="Zope.View"