-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got Zope to start up again. I had to add a bunch of XXX to view
registrations, but that's okay. Now I can at least concentrate on developing the new Site Management screens.
- Loading branch information
Showing
1 changed file
with
92 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,92 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:browser="http://namespaces.zope.org/browser"> | ||
|
||
<defaultLayer | ||
type="zope.publisher.interfaces.browser.IBrowserRequest" | ||
layer="zope.publisher.interfaces.browser.IDefaultBrowserLayer" /> | ||
|
||
<browser:layer name="default" | ||
interface="zope.publisher.interfaces.browser.IDefaultBrowserLayer" /> | ||
|
||
<content class="zope.publisher.browser.BrowserRequest"> | ||
<allow | ||
interface="zope.publisher.interfaces.browser.IBrowserApplicationRequest" | ||
attributes="response locale __str__" | ||
/> | ||
<allow | ||
interface="zope.component.interfaces.IPresentationRequest" /> | ||
</content> | ||
|
||
<content class="zope.publisher.browser.TestRequest"> | ||
<allow | ||
interface="zope.publisher.interfaces.browser.IBrowserApplicationRequest" | ||
attributes="response" | ||
/> | ||
<allow | ||
interface="zope.component.interfaces.IPresentationRequest" /> | ||
</content> | ||
|
||
<content class="zope.publisher.browser.BrowserResponse"> | ||
<allow | ||
interface="zope.publisher.interfaces.http.IHTTPResponse" | ||
/> | ||
</content> | ||
|
||
<content class="zope.app.publisher.browser.fileresource.FileResource"> | ||
<allow interface="zope.publisher.interfaces.browser.IBrowserPublisher" /> | ||
<allow attributes="GET HEAD __call__" /> | ||
</content> | ||
|
||
<content class="zope.app.publisher.browser.i18nfileresource.I18nFileResource"> | ||
<allow interface="zope.publisher.interfaces.browser.IBrowserPublisher" /> | ||
<allow attributes="GET HEAD __call__" /> | ||
</content> | ||
|
||
<content class=".pagetemplateresource.PageTemplateResource"> | ||
<allow interface="zope.publisher.interfaces.browser.IBrowserPublisher" /> | ||
<allow attributes="__call__" /> | ||
</content> | ||
|
||
<content class=".directoryresource.DirectoryResource"> | ||
<allow interface="zope.publisher.interfaces.browser.IBrowserPublisher" /> | ||
<allow attributes="get __getitem__" /> | ||
</content> | ||
|
||
<browser:page | ||
name="" | ||
for="zope.app.component.interfaces.ISite" | ||
class="zope.app.publisher.browser.resources.Resources" | ||
permission="zope.Public" | ||
allowed_interface="zope.publisher.interfaces.browser.IBrowserPublisher" | ||
/> | ||
|
||
<!-- Management view selector --> | ||
<!-- Get first accessible item from zmi_views menu --> | ||
<browser:page | ||
for="*" | ||
name="SelectedManagementView.html" | ||
permission="zope.Public" | ||
class=".managementviewselector.ManagementViewSelector" | ||
allowed_interface="zope.publisher.interfaces.browser.IBrowserPublisher" | ||
/> | ||
|
||
<!-- Make manage an alias for same --> | ||
<browser:page | ||
for="*" | ||
name="manage" | ||
permission="zope.ManageContent" | ||
class=".managementviewselector.ManagementViewSelector" | ||
allowed_interface="zope.publisher.interfaces.browser.IBrowserPublisher" | ||
/> | ||
|
||
<!-- Menu access --> | ||
<browser:page | ||
for="*" | ||
name="view_get_menu" | ||
permission="zope.Public" | ||
class=".menu.MenuAccessView" | ||
allowed_interface="zope.app.publisher.interfaces.browser.IMenuAccessView" | ||
/> | ||
|
||
</configure> |