Permissioning Center - Customer Type Field Validations On Customer Center 7.4

(Doc ID 1146463.1)

Last updated on JULY 01, 2014

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.4.0.0.0 to 7.4.0.0.0 [Release 7.4.0]
Information in this document applies to any platform.
***Checked for relevance on 11-Nov-2012***
***Checked for relevance on 07-01-2014***

Symptoms

CSR with Read Only permissions defined for all the Customer Center restrictions can still update customer account on CUSTOMER_TYPE field.

Steps to reproduce:
==================
1. In Permissioning Center, create a new CSR user and a new CSR Role, assign CSR user to CSR Role.
2. Add All Restrictions of Customer Center to the CSR Role, then modify all the Permissions with Read Only access.
3. Login to Customer Center as CSR user.
4. Open any existing account, update the Customer Type on the Summary tab among (Not Set), Platinum, Gold, Silver, Bronze.
5. Save and refresh the account, and verify the Customer Type still did get updated.

Changes

Customization workaround:

1. Create a file called "CustomApplicationPermissionList.xml" in "lib" folder of Permissioning center install location.

2. Put the below entries, Here we are adding a new custom permission "/customercenter/custom/customertype" to identify whether we need to allow the CSR to change the customer type or not.

<?xml version="1.0" encoding="utf-8" ?>
   <PermDescription>
      <Application>
          <Name>
             Customer Center
          </Name>
      <Perm>
      /customercenter/custom/customertype
      </Perm>
   </Application>
</PermDescription>



Restart permissioning center, and try to create a new role for customer center. You will see the permission "/customercenter/custom/customertype" also listed in the list of permissions for customer center. Customer can also add this permission directly in a CSR account using customer center's "Permissions" menu.

3. Next you have to extend the "com.portal.app.cc.PSummaryPage", and do as below to permission control the customer type combo box.

Create a class as below :

package com.portal.app.custom;
import com.portal.app.cc.PSummaryPage;
import com.portal.bas.PRestriction;
public class CustomSummaryPage extends PSummaryPage {
public CustomSummaryPage() {
super();
PRestriction perm =
PRestriction.getRestrictionExists("/customercenter/custom/customertype");
if (perm != null) {
if (perm.getChangeRestriction() == PRestriction.CHANGABLE_NO) {
makeCustomerTypeNonEditable();
}
}
}
}


Add the entry in "customized.properties" as below :

custinfo.summary.class=com.portal.app.custom.CustomSummaryPage


Here the /customercenter/custom/customertype is as an example only and customer can give any permission name and read the same in the code. For the list of permissions available for fields please refer the topic "Customer Center permission types ".

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms