view schemas/user.xml @ 8:7d92a42f8e18

improved doxygen library
author sergey
date Wed, 14 May 2014 17:28:22 +0400
parents fa7a99c2d079
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<schema>
    <Include source="form.types.xml"/>
    <ComplexNode name="login">
        <NodeSet>
            <Node name="login" type="login"/>
            <SimpleNode name="password" template="dojo/form/Input" inputType="password"/>
        </NodeSet>
    </ComplexNode>
    <ComplexNode name="register" binding-type='Benzin::Security::Ldap::User'>
        <NodeSet>
            <Node name="name" type="login"/>
            <Node name="password" type="password"/>
            <Node name="password2" type="password_retype" linkedField="password"/>
            <Node name="givenName" minOccur="0" type="text"/>
            <Node name="sn" minOccur="0" type="text"/>
            <Node name="telephoneNumber" type="text" minOccur="0"/>
            <Node name="mail" type="email" minOccur="0"/>
            <Node name="roomNumber" type="text" minOccur="0"/>
            <Node name="departmentNumber" type="text" minOccur="0"/>
        </NodeSet>
    </ComplexNode>
    <ComplexNode name="edit" binding-type='Benzin::Security::Ldap::User'>
        <NodeSet messageMin="ID:ElementIsRequired">
            <Node name="givenName" minOccur="0" type="text"/>
            <Node name="sn" minOccur="0" type="text"/>
            <Node name="telephoneNumber" type="text" minOccur="0"/>
            <Node name="mail" type="email" minOccur="0"/>
            <Node name="roomNumber" type="text" minOccur="0"/>
            <Node name="departmentNumber" type="text" minOccur="0"/>
        </NodeSet>
    </ComplexNode>
    <ComplexNode name="passwd">
        <NodeSet messageMin="ID:ElementIsRequired">
            <Node name="oldPassword" type="password"/>
            <Node name="password" type="password"/>
            <Node name="password2" type="password_retype" linkedField="password"/>
        </NodeSet>
    </ComplexNode>
    <ComplexNode name="roles">
    	<NodeSet>
    		<SimpleNode name="roles" data-source-name="system-roles" binding-type="Benzin::Security::Ldap::Group" template='dojo/form/CheckboxSelect' minOccur="0" maxOccur="unbounded"/>
    	</NodeSet>
    </ComplexNode>
</schema>