[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder - folder.zcml:1.1.2.1
Christian Theune
ct@gocept.com
Sat, 18 May 2002 06:18:02 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Folder
In directory cvs.zope.org:/tmp/cvs-serv28158
Added Files:
Tag: ctheune-foldermove-branch
folder.zcml
Log Message:
Renamed folder.zcml to ../Content/Folder//folder.zcml
=== Added File Zope3/lib/python/Zope/App/OFS/Content/Folder/folder.zcml ===
<zopeConfigure
xmlns='http://namespaces.zope.org/zope'
xmlns:security='http://namespaces.zope.org/security'
xmlns:zmi='http://namespaces.zope.org/zmi'
>
<!-- Simple Folder Directives -->
<zmi:factoryFromClass name="Folder"
class=".Folder."
permission_id="Zope.ManageContent"
title="Son of Folder"
description="Minimal folder" />
<security:protectClass name=".Folder."
permission_id="Zope.View">
<security:protect
interface="Zope.ComponentArchitecture.IServiceManagerContainer.IReadServiceManagerContainer"
permission_id="Zope.Public" />
<security:protect
interface="Zope.ComponentArchitecture.IServiceManagerContainer.IWriteServiceManagerContainer"
permission_id="Zope.ManageServices" />
<security:protect
interface="Zope.App.OFS.Container.IContainer.IReadContainer"
permission_id="Zope.View" />
<security:protect
interface="Zope.App.OFS.Container.IContainer.IWriteContainer"
permission_id="Zope.ManageContent" />
</security:protectClass>
<!-- XXX Do we really need RootFolder? -->
<security:protectClass name=".RootFolder." like_unto=".Folder." />
<zmi:tabs for=".Folder.IFolder.">
<zmi:tab label="Contents" action="contents;view"/>
<zmi:tab label="Role Permissions"
action="RolePermissionsManagement;view"/>
</zmi:tabs>
<!-- Loaded Folder Directives -->
<zmi:factoryFromClass name="LoadedFolder"
class=".LoadedFolder."
permission_id="Zope.ManageContent"
title="Loaded Folder"
description="A Folder having all the goodies." />
<security:protectClass name=".LoadedFolder."
permission_id="Zope.View">
<security:protect
interface="Zope.ComponentArchitecture.IServiceManagerContainer.IReadServiceManagerContainer"
permission_id="Zope.Public" />
<security:protect
interface="Zope.ComponentArchitecture.IServiceManagerContainer.IWriteServiceManagerContainer"
permission_id="Zope.ManageServices" />
<security:protect
interface="Zope.App.OFS.Container.IContainer.IReadContainer"
permission_id="Zope.View" />
<security:protect
interface="Zope.App.OFS.Container.IContainer.IWriteContainer"
permission_id="Zope.ManageContent" />
<security:protect
interface="Zope.App.OFS.Container.IOrderedContainer.IReadOrderedContainer"
permission_id="Zope.View" />
<security:protect
interface="Zope.App.OFS.Container.IOrderedContainer.IWriteOrderedContainer"
permission_id="Zope.ManageContent" />
<security:protect
interface="Zope.App.OFS.Container.IContainerLimit.IReadContainerLimit"
permission_id="Zope.View" />
<security:protect
interface="Zope.App.OFS.Container.IContainerLimit.IWriteContainerLimit"
permission_id="Zope.ManageContent" />
</security:protectClass>
<zmi:tabs for="Zope.App.OFS.Container.IContainerLimit.">
<zmi:tab label="Limit" action="limit;view"/>
</zmi:tabs>
<zmi:tabs for=".LoadedFolder.ILoadedFolder.">
<zmi:tab label="Contents" action="contents;view"/>
<zmi:tab label="Role Permissions"
action="RolePermissionsManagement;view"/>
</zmi:tabs>
<!-- Further Directives -->
<include package=".Views" file="views.zcml" />
</zopeConfigure>