콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
9657 화면

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?

아바타
취소

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.

베스트 답변

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

 

아바타
취소
관련 게시물 답글 화면 활동
2
3월 15
10208
3
3월 25
12250
1
2월 25
7665
2
3월 15
6467
4
3월 15
9205