Search Engine: Elastic

Article ID: 123166, created on Oct 15, 2014, last review on Nov 12, 2017

  • Applies to:
  • Business Automation 5.5
  • Business Automation 6.0

Question

How to forbid customer to edit his name in CCP?

Answer

There is a privilege MANAGE_OWN_ACCTINFO_C. If you remove it from Users's role (PBA Home> Operations> Customers> select_needed_account> Users> select_needed_user> Roles> select_role> Privileges> select MANAGE_OWN_ACCTINFO_C> Delete) that will forbid customer to change any of its personal information from CCP.

However if you want to forbid editing only customer's name, following customization files can be used:

First of all, copy required customization file into /usr/local/bm/customization folder:

#cp /usr/local/bm/conf/wnd/BM/customization/CDB_Contact_CDB_UpdateContactInfoCompanyWin.xml /usr/local/bm/customization

or

#cp /usr/local/bm/conf/wnd/BM/customization/CDB_Contact_CDB_UpdateContactInfoPersWin.xml /usr/local/bm/customization.

Please note that /usr/local/bm/customization folder should be a symbolic link to the /usr/local/bm/conf/wnd/BM/customization folder

For personal accounts:

[root@pba customization]# cat CDB_Contact_CDB_UpdateContactInfoPersWin.xml
<window id="CDB_Contact_CDB_UpdateContactInfoPersWin">
<elements>
<input  id="AccountPersFName" visibility="vo" />
<input  id="AccountPersMName" visibility="vo" />
<input  id="AccountPersLName" visibility="vo" />
</elements>
</window>

For companies:

[root@pba customization]# cat CDB_Contact_CDB_UpdateContactInfoCompanyWin.xml
<window id="CDB_Contact_CDB_UpdateContactInfoCompanyWin">
<elements>
<input id="AccountCompany" visibility="vo" />
</elements>
</window>

www service restart is required to apply customization changes:

#service pba restart www

For more information about customization files creation please refer to our documentation - UI Customization Guide

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328

Email subscription for changes to this article
Save as PDF