Zope Subversion Repository

  Zope

Zope: zope.security/trunk/src/zope/security/meta.zcml

File: [Zope] / zope.security / trunk / src / zope / security / meta.zcml (download)
Revision: 95342, Wed Jan 28 16:00:22 2009 UTC (4 years, 3 months ago) by brandon_rhodes
File size: 1964 byte(s)
Added to zope.security the implementation of the simple <module>
directive, so that everyone needing it will no longer have to rely,
for just that reason, upon the monstrous zope.app.security.
<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:meta="http://namespaces.zope.org/meta">

  <meta:directive
      namespace="http://namespaces.zope.org/zope"
      name="permission"
      schema=".zcml.IPermissionDirective"
      handler=".zcml.permission" />

  <meta:directive
      name="securityPolicy"
      namespace="http://namespaces.zope.org/zope"
      schema=".zcml.ISecurityPolicyDirective"
      handler=".zcml.securityPolicy" 
      />

  <meta:directive
      name="redefinePermission"
      namespace="http://namespaces.zope.org/meta"
      schema=".zcml.IRedefinePermission"
      handler=".zcml.redefinePermission" />

  <meta:directives namespace="http://namespaces.zope.org/zope">

    <meta:complexDirective
        name="class"
        schema=".metadirectives.IClassDirective"
        handler=".metaconfigure.ClassDirective"
        >

      <meta:subdirective
          name="implements"
          schema=".metadirectives.IImplementsSubdirective"
          />

      <meta:subdirective
          name="require"
          schema=".metadirectives.IRequireSubdirective"
          />

      <meta:subdirective
          name="allow"
          schema=".metadirectives.IAllowSubdirective"
          />

      <meta:subdirective
          name="factory"
          schema=".metadirectives.IFactorySubdirective"
          />

    </meta:complexDirective>
  </meta:directives>

  <meta:groupingDirective
      name="module"
      namespace="http://namespaces.zope.org/zope"
      schema=".metadirectives.IModule"
      handler="zope.configuration.config.GroupingContextDecorator" />

  <meta:directive
      name="allow"
      namespace="http://namespaces.zope.org/zope"
      schema=".metadirectives.IAllow"
      handler=".metaconfigure.allow" />

  <meta:directive
      name="require"
      namespace="http://namespaces.zope.org/zope"
      schema=".metadirectives.IRequire"
      handler=".metaconfigure.require" />

</configure>

webmaster@zope.org

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help