Skip to main content

KI-133

Read-only users can create new but empty Contact Information records

Created date

12/10/2024

Updated date

12/10/2024

Status

Backlog

Related work item

PJN-3505

Description

Read-only users with the KCC - Read Only - Account Management (PJN_Read_Only_Account_Management) permission set can use the Contact Information (PJN_ContactInformation) component to create new Contact Information (mvn__PJN_Contact_Information__c) records that do not contain any information, even though they should not be able to create Contact Information records at all. However, users may encounter error messages when creating the Contact Information records and when opening the related Account records from Account Search.

Affects version(s)

Komodo Care Connect V2.2.0

Impacted capabilities

N/A

Steps to reproduce

  1. Log into a Komodo Care Connect V2.2.0 org as an admin.

    1. Create a read-only user with the KCC - Read Only - Account Management (PJN_Read_Only_Account_Management) permission set.

    2. Create an Account record.

  2. Log into the same Komodo Care Connect V2.2.0 org as the read-only user.

    1. Navigate to the Account record.

    2. On the Contact Information component in the Account record page, click New. The following will appear:

      • An error message that says, "You do not have access to the Apex class named 'PJN_RecordTypeSelectionCtrl'."

      • A New modal without any fields.

    3. On the New modal without any fields, click Create. The New modal will update to show several disabled (i.e., greyed out) fields, including the related Account record name and address.

    4. On the New modal with the disabled fields, click Save. The Contact Information record will be saved, but it will appear as an empty row in the Contact Information component.

You can open the Contact Information record from the Contact Information component without any issues, but it will not contain any information. Additionally, if you search for the related Account record in Account Search, you will encounter the following error message: "Something went wrong. Please contact your system administrator: mvn__PJN_Contact_Information__c:: RecordTypeId cannot be null".

Workaround

Read-only users should avoid creating new Contact Information records. Users with edit access to the Contact Information object can update or delete the empty records as needed.

Fix version

Komodo Care Connect Spring '25 (V4.0.0)

Resolution notes