Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require ManageServices to get errors action.
- Loading branch information
Jim Fulton
committed
Mar 2, 2005
0 parents
commit 5572a81
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<zope:configure | ||
xmlns:zope="http://namespaces.zope.org/zope" | ||
xmlns="http://namespaces.zope.org/browser"> | ||
|
||
<pages | ||
for="*" | ||
permission="zope.ManageContent" | ||
class=".ErrorRedirect" > | ||
|
||
<page name="errorRedirect.html" attribute="action" /> | ||
</pages> | ||
|
||
<menuItem | ||
for="*" | ||
menu="zmi_actions" | ||
title="Errors" | ||
action="@@errorRedirect.html" | ||
permission="zope.ManageServices" /> | ||
|
||
<!--Error Logging Utility --> | ||
|
||
<pages | ||
for="zope.app.error.interfaces.IErrorReportingUtility" | ||
permission="zope.ManageServices" | ||
class=".EditErrorLog"> | ||
|
||
<page name="index.html" template="error.pt" | ||
menu="zmi_views" title="Errors" /> | ||
<page name="configure.html" template="error_config.pt" | ||
menu="zmi_views" title="Configure" /> | ||
<page name="edit.html" attribute="updateProperties" /> | ||
<page name="showEntry.html" template="errorentry.pt"/> | ||
<page name="showTextTBEntry.html" template="texttbentry.pt"/> | ||
</pages> | ||
|
||
<addMenuItem | ||
class="zope.app.error.error.ErrorReportingUtility" | ||
title="Error Logging Utility" | ||
description="Error Reporting Utility for Logging Errors" | ||
permission="zope.ManageServices" /> | ||
|
||
<tool | ||
interface="..interfaces.IErrorReportingUtility" | ||
title="Error Reporting" | ||
description="Component to record all uncaught errors and exceptions." | ||
unique="true" | ||
/> | ||
|
||
<icon name="zmi_icon" | ||
for="zope.app.error.interfaces.IErrorReportingUtility" | ||
file="error.gif" /> | ||
|
||
</zope:configure> | ||
|