7
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <schema>
|
|
3 <Include source="form.types.xml"/>
|
|
4 <ComplexNode name="login">
|
|
5 <NodeSet>
|
|
6 <Node name="login" type="login"/>
|
|
7 <SimpleNode name="password" template="dojo/form/Input" inputType="password"/>
|
|
8 </NodeSet>
|
|
9 </ComplexNode>
|
|
10 <ComplexNode name="register" binding-type='Benzin::Security::Ldap::User'>
|
|
11 <NodeSet>
|
|
12 <Node name="name" type="login"/>
|
|
13 <Node name="password" type="password"/>
|
|
14 <Node name="password2" type="password_retype" linkedField="password"/>
|
|
15 <Node name="givenName" minOccur="0" type="text"/>
|
|
16 <Node name="sn" minOccur="0" type="text"/>
|
|
17 <Node name="telephoneNumber" type="text" minOccur="0"/>
|
|
18 <Node name="mail" type="email" minOccur="0"/>
|
|
19 <Node name="roomNumber" type="text" minOccur="0"/>
|
|
20 <Node name="departmentNumber" type="text" minOccur="0"/>
|
|
21 </NodeSet>
|
|
22 </ComplexNode>
|
|
23 <ComplexNode name="edit" binding-type='Benzin::Security::Ldap::User'>
|
|
24 <NodeSet messageMin="ID:ElementIsRequired">
|
|
25 <Node name="givenName" minOccur="0" type="text"/>
|
|
26 <Node name="sn" minOccur="0" type="text"/>
|
|
27 <Node name="telephoneNumber" type="text" minOccur="0"/>
|
|
28 <Node name="mail" type="email" minOccur="0"/>
|
|
29 <Node name="roomNumber" type="text" minOccur="0"/>
|
|
30 <Node name="departmentNumber" type="text" minOccur="0"/>
|
|
31 </NodeSet>
|
|
32 </ComplexNode>
|
|
33 <ComplexNode name="passwd">
|
|
34 <NodeSet messageMin="ID:ElementIsRequired">
|
|
35 <Node name="oldPassword" type="password"/>
|
|
36 <Node name="password" type="password"/>
|
|
37 <Node name="password2" type="password_retype" linkedField="password"/>
|
|
38 </NodeSet>
|
|
39 </ComplexNode>
|
|
40 <ComplexNode name="roles">
|
|
41 <NodeSet>
|
|
42 <SimpleNode name="roles" data-source-name="system-roles" binding-type="Benzin::Security::Ldap::Group" template='dojo/form/CheckboxSelect' minOccur="0" maxOccur="unbounded"/>
|
|
43 </NodeSet>
|
|
44 </ComplexNode>
|
|
45 </schema> |