Skip to content

Commit

Permalink
Added a security declaration for the handy DirectResult.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Dec 20, 2005
0 parents commit 6bdf133
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions http.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<configure
xmlns="http://namespaces.zope.org/zope"
package="zope.publisher.http">

<content class="zope.publisher.http.HTTPRequest">
<require
permission="zope.View"
interface="zope.publisher.interfaces.http.IHTTPApplicationRequest"/>
</content>

<content class="zope.publisher.http.URLGetter">
<require
permission="zope.View"
attributes="get __getitem__ __str__" />
</content>

<class class="zope.publisher.http.DirectResult">
<allow interface="zope.publisher.interfaces.http.IResult" />
</class>

</configure>

0 comments on commit 6bdf133

Please sign in to comment.