ZCML File
ftesting.zcml

<configure
    xmlns="http://namespaces.zope.org/zope"
    package="zope.app.publisher"
    i18n_domain="zope"
    >
<include
    file="meta.zcml"
    package="zope.app.securitypolicy"
    />
<include
    package="zope.app.zcmlfiles"
    />
<include
    package="zope.app.authentication"
    />
<include
    package="zope.app.securitypolicy"
    />
<securityPolicy
    component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
    />
<role
    id="zope.Manager"
    title="Site Manager"
    />
<grantAll
    role="zope.Manager"
    />
<include
    file="functional.zcml"
    package="zope.app.securitypolicy.tests"
    />
<principal
    id="zope.mgr"
    title="Manager"
    login="mgr"
    password="mgrpw"
    />
<principal
    id="zope.user"
    title="User"
    login="usr"
    password="usrpw"
    />
<grant
    principal="zope.user"
    permission="zope.View"
    />
<principal
    id="zope.globalmgr"
    title="Manager"
    login="globalmgr"
    password="globalmgrpw"
    />
<grant
    principal="zope.globalmgr"
    role="zope.Manager"
    />
</configure>