ZCML File
configure.zcml
[top]
/
zope
/
app
/
pluggableauth
/
browser
/ configure.zcml
<
zope:configure
xmlns
="
http://namespaces.zope.org/browser
"
xmlns:zope
="
http://namespaces.zope.org/zope
"
i18n_domain
="
zope
"
>
<
containerViews
for
="
zope.app.pluggableauth.interfaces.IPluggableAuthentication
"
contents
="
zope.ManageSite
"
add
="
zope.ManageSite
"
/>
<
addMenuItem
title
="
Add Principal Source
"
permission
="
zope.ManageSite
"
class
="
zope.app.pluggableauth.BTreePrincipalSource
"
/>
<
containerViews
for
="
zope.app.pluggableauth.interfaces.IContainerPrincipalSource
"
contents
="
zope.ManageSite
"
add
="
zope.ManageSite
"
/>
<
addform
name
="
AddPrincipalForm.html
"
schema
="
zope.app.pluggableauth.interfaces.IUserSchemafied
"
permission
="
zope.ManageContent
"
label
="
Add Simple User with details
"
fields
="
login password title description
"
content_factory
="
zope.app.pluggableauth.SimplePrincipal
"
arguments
="
login password
"
keyword_arguments
="
title description
"
/>
<
addMenuItem
title
="
Principal
"
permission
="
zope.ManageSite
"
class
="
zope.app.pluggableauth.SimplePrincipal
"
view
="
AddPrincipalForm.html
"
/>
<
editform
name
="
edit.html
"
schema
="
zope.app.pluggableauth.interfaces.IUserSchemafied
"
permission
="
zope.ManageContent
"
label
="
Edit User Information
"
menu
="
zmi_views
"
title
="
Edit
"
fields
="
login password title description
"
/>
</
zope:configure
>