I'm using LDAP identification. My problem is that a user can change their password in their profile. If they do, they can login without LDAP credential which goes against the organisation's policy. Is there a simple way to disable "change password" for users? Did I miss a setting somewhere?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
4
ตอบกลับ
9368
มุมมอง
You can't disable it, but you can develop a small module to remove this feature.
Hi
you can use this code to hide the "change password" code.
<record id="view_users_form_simple_modif_hide_password" model="ir.ui.view">
<field name="name">res.users.preferences.hide.password..form</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form_simple_modif"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='preference_change_password']" position="replace"/>
</field>
</record>
Regards,
Nikhilkrishnan
Charles, have you solved it? I'm in the same situation.
Thanks.
Gustavo
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
2
มี.ค. 15
|
10005 | ||
|
3
มี.ค. 25
|
11978 | ||
|
1
ก.พ. 25
|
7387 | ||
|
2
มี.ค. 15
|
6271 | ||
|
4
มี.ค. 15
|
8849 |
What is worse with this is that changing the password then seems to give them the single user name and two passwords .. the LDAP password and then new one they changed to.