~ajite/server-env-tools/7.0-server-env-tools-0001

« back to all changes in this revision

Viewing changes to users_ldap_groups/users_ldap_groups.xml

  • Committer: Stefan Rijnhart
  • Author(s): dgreis at sapo
  • Date: 2013-08-04 18:18:54 UTC
  • mfrom: (39.1.2 server-env-tools)
  • Revision ID: stefan@therp.nl-20130804181854-etly1posqhp6pezb
[MIG] Port of LDAP populate and group sync modules to 7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<openerp>
 
3
    <data>
 
4
        <record model="ir.ui.view" id="company_form_view">
 
5
            <field name="name">res.company.form.inherit.users_ldap_groups</field>
 
6
            <field name="model">res.company</field>
 
7
            <field name="inherit_id" ref="auth_ldap.company_form_view"/>
 
8
            <field name="arch" type="xml">
 
9
 
 
10
                <xpath expr="//form[@string='LDAP Configuration']" position="inside">
 
11
                    <group string="Map User Groups" >
 
12
                        <field name="only_ldap_groups" />
 
13
                        <field name="group_mappings" colspan="4" nolabel="1">
 
14
                          <tree editable="top">
 
15
                            <field name="ldap_attribute" attrs="{'required': [('operator','not in',['query'])], 'readonly': [('operator','in',['query'])]}" />
 
16
                            <field name="operator" />
 
17
                            <field name="value" />
 
18
                            <field name="group" />
 
19
                          </tree>
 
20
                        </field>
 
21
                    </group>
 
22
                </xpath>
 
23
 
 
24
            </field>
 
25
        </record>
 
26
     </data>
 
27
</openerp>