This file is indexed.

/usr/share/pyshared/trytond/res/user.xml is in tryton-server 2.2.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>
        <record model="res.user" id="user_admin">
            <field name="login">admin</field>
            <field name="name">Administrator</field>
            <field name="signature">Administrator</field>
            <field name="action" ref="ir.act_module_config_wizard"/>
            <field name="menu" ref="ir.act_menu_tree"/>
        </record>
        <record model="res.user-res.group" id="user_admin_group_admin">
            <field name="user" ref="user_admin"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.ui.view" id="user_view_form">
            <field name="model">res.user</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
              <![CDATA[
                <form string="User">
                    <label name="name"/>
                    <field name="name"/>
                    <label name="active"/>
                    <field name="active"/>
                    <notebook colspan="4">
                        <page string="User" id="user">
                            <label name="login"/>
                            <field name="login"/>
                            <label name="password"/>
                            <field name="password"/>
                            <label name="email"/>
                            <field name="email" widget="email"/>
                            <newline/>
                            <label name="action"/>
                            <field name="action"/>
                            <label name="menu"/>
                            <field name="menu"/>
                            <separator name="signature" colspan="4"/>
                            <field name="signature" colspan="4"/>
                        </page>
                        <page string="Access Permissions" col="1" id="permissions">
                            <field name="groups"/>
                            <field name="rule_groups"/>
                        </page>
                        <page string="Preferences" col="2" id="preferences">
                            <label name="language"/>
                            <field name="language" widget="selection"/>
                            <label name="timezone"/>
                            <field name="timezone"/>
                        </page>
                    </notebook>
                </form>
              ]]>
            </field>
        </record>
        <record model="ir.ui.view" id="user_view_form_preferences">
            <field name="model">res.user</field>
            <field name="type">form</field>
            <field name="priority" eval="20"/>
            <field name="arch" type="xml">
                <![CDATA[
                <form string="User">
                    <label name="name"/>
                    <field name="name"/>
                    <notebook colspan="4">
                        <page string="User" id="user">
                            <label name="email"/>
                            <field name="email" widget="email"/>
                            <label name="password"/>
                            <field name="password"/>
                            <label name="action"/>
                            <field name="action" widget="selection"/>
                            <label name="menu"/>
                            <field name="menu" widget="selection"/>
                            <separator name="signature" colspan="4"/>
                            <field name="signature" colspan="4"/>
                        </page>
                        <page string="Group Membership" col="1" id="membership">
                            <field name="groups"/>
                        </page>
                        <page string="Preferences" col="2" id="preferences">
                            <label name="language"/>
                            <field name="language" widget="selection"/>
                            <label name="timezone"/>
                            <field name="timezone"/>
                        </page>
                    </notebook>
                </form>
                ]]>
            </field>
        </record>
        <record model="ir.ui.view" id="user_view_tree">
            <field name="model">res.user</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
              <![CDATA[
                <tree string="Users">
                    <field name="name"/>
                    <field name="login"/>
                    <field name="connections"/>
                    <field name="active"/>
                </tree>
              ]]>
            </field>
        </record>
        <record model="ir.action.act_window" id="act_user_form">
            <field name="name">Users</field>
            <field name="type">ir.action.act_window</field>
            <field name="res_model">res.user</field>
        </record>
        <record model="ir.action.act_window.view"
            id="act_user_form_view1">
            <field name="sequence" eval="1"/>
            <field name="view" ref="user_view_tree"/>
            <field name="act_window" ref="act_user_form"/>
        </record>
        <record model="ir.action.act_window.view"
            id="act_user_form_view2">
            <field name="sequence" eval="2"/>
            <field name="view" ref="user_view_form"/>
            <field name="act_window" ref="act_user_form"/>
        </record>
        <menuitem parent="res.menu_res"
            action="act_user_form" id="menu_user_form"/>
        <record model="ir.ui.menu-res.group" id="menu_user_form_group_admin">
            <field name="menu" ref="menu_user_form"/>
            <field name="group" ref="group_admin"/>
        </record>

        <record model="ir.model.access" id="access_user">
            <field name="model" search="[('model', '=', 'res.user')]"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="False"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="False"/>
        </record>
        <record model="ir.model.access" id="access_user_admin">
            <field name="model" search="[('model', '=', 'res.user')]"/>
            <field name="group" ref="group_admin"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="True"/>
            <field name="perm_delete" eval="True"/>
        </record>
        <record model="ir.ui.view" id="user_config_init_view_form">
            <field name="model">res.user.config.init</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <![CDATA[
                <form string="Add Users" col="2">
                    <image name="tryton-dialog-information" xexpand="0" xfill="0"/>
                    <group col="1" id="labels">
                        <label string="You can now add some users into the system."
                            id="add"
                            yalign="0.0" xalign="0.0" xexpand="1"/>
                        <label string="Be careful that the login must be unique!"
                            id="carefull"
                            yalign="0.0" xalign="0.0" xexpand="1"/>
                    </group>
                </form>
                ]]>
            </field>
        </record>
        <record model="ir.module.module.config_wizard.item"
            id="config_wizard_item_user">
            <field name="name">res.user.config</field>
        </record>

        <record model="ir.ui.view" id="user_warning_view_form">
            <field name="model">res.user.warning</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <![CDATA[
                <form string="Warning">
                    <label name="user"/>
                    <field name="user"/>
                    <newline/>
                    <label name="name"/>
                    <field name="name"/>
                    <label name="always"/>
                    <field name="always"/>
                </form>
                ]]>
            </field>
        </record>

        <record model="ir.ui.view" id="user_warning_view_tree">
            <field name="model">res.user.warning</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <![CDATA[
                <tree string="Warnings">
                    <field name="user"/>
                    <field name="name"/>
                    <field name="always"/>
                </tree>
                ]]>
            </field>
        </record>

        <record model="ir.rule.group" id="rule_group_user_warning">
            <field name="model" search="[('model', '=', 'res.user.warning')]"/>
            <field name="global_p" eval="True"/>
        </record>
        <record model="ir.rule" id="rule_user_warning1">
            <field name="field" search="[('name', '=', 'user'), ('model.model', '=', 'res.user.warning')]"/>
            <field name="operator">=</field>
            <field name="operand">User</field>
            <field name="rule_group" ref="rule_group_user_warning"/>
        </record>

    </data>
</tryton>