Skip to content

Commit

Permalink
Tools are deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Apr 18, 2006
1 parent 2fba8a3 commit 4ccb0ef
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions configure.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
>

<localUtility class=".PrincipalAnnotationUtility">
<factory
id="zope.app.PrincipalAnnotationUtility"
/>
<require
permission="zope.View"
interface=".interfaces.IPrincipalAnnotationUtility"
/>
</localUtility>

<!-- Principal annotations (user data) utility -->

<browser:addMenuItem
class=".PrincipalAnnotationUtility"
permission="zope.ManageServices"
title="Principal Annotation Utility"
description="Stores Annotations for Principals" />

<subscriber
for="zope.app.appsetup.IDatabaseOpenedEvent"
handler=".bootstrap.bootStrapSubscriber"
/>

<adapter factory=".annotations" />

</configure>

0 comments on commit 4ccb0ef

Please sign in to comment.