Hi Experts,
In the Account entity form, we have a sub-grid of a custom entity name STM. In this STM entity, we have two lookups. 1 lookup to Account and 1 to User. When a new STM record is created, the USER of STM record is also added to account sales team template via plugin.
Previously, only the account owner can create STM record from account form. Now, we have an additional requirement. The User associated to STM record should also be able to create a STM record for account record.
When the User associated to STM record created a new STM record for the account, the security role privilege issue occurs.
Would like to seek for some help with regards to the security role privilege issue we are encountering. Below is the complete error message details.
<Message>Error: SecLib::AccessCheckEx2 failed. Entity Name:account,OwnershipTypeMask:UserOwned, ObjectId: cfc81044-9ee0-e811-8179-e0071b673bc1, OwnerId:e3916633-3407-e811-816d-e0071b693711, OwnerIdType:8, OwnerData: roleCount=5, privilegeCount=1932, accessMode=0 and CallingUser:db4af359-171e-e911-a991-000d3a81e604, CallerBusinessId:f2502b25-b762-e711-816c-e0071b6927c1 PrincipalData: roleCount=1, privilegeCount=827, accessMode=0. ObjectTypeCode:1, ObjectBusinessUnitId:f2502b25-b762-e711-816c-e0071b6927c1, AccessRights: 262175. Computed rightsToCheck=262175, grantedRights=31, hsmGrantedRights=None, grantedRightsWithHsm=31, </Message>
