configuration bug fix
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1011 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
62c5514219
commit
6d01b8a1f2
2 changed files with 8 additions and 1 deletions
|
@ -73,7 +73,7 @@ class NodesExportImport(object):
|
|||
def setDownloadHeader(self, request, text):
|
||||
response = request.response
|
||||
response.setHeader('Content-Disposition',
|
||||
'attachment; filename=yeepacontent.dmp')
|
||||
'attachment; filename=loopscontent.dmp')
|
||||
response.setHeader('Content-Type', 'text/plain')
|
||||
response.setHeader('Content-Length', len(text))
|
||||
|
||||
|
|
|
@ -20,6 +20,13 @@
|
|||
<factory id="loops.Loops"
|
||||
description="loops top-level container" />
|
||||
|
||||
<allow
|
||||
attributes="getSiteManager" />
|
||||
|
||||
<require
|
||||
permission="zope.ManageServices"
|
||||
attributes="setSiteManager" />
|
||||
|
||||
<require
|
||||
permission="zope.View"
|
||||
interface="zope.app.container.interfaces.IReadContainer" />
|
||||
|
|
Loading…
Add table
Reference in a new issue