web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Security privilege for Customer Address Entity

Arun Vinoth Profile Picture Arun Vinoth 11,615 Moderator
I learned something new today. CRM is using Account entity privileges for the related Customer Address Entity. You won’t find the Address entity in Security role to set the Privilege.

Sometimes we may remove the delete privilege for Account entity to avoid user errors. But when you have a requirement to delete the associated address record that too when plugin is running on calling user context, this will fail. Either this code has to run on Admin context or Have to open the security role privilege for Account entity so that it will get cascaded to Address entity. This Stack Overflow question sparked this research & blog post.

Actually I got to know this hidden concept from SALutions answer from this community thread


This was originally posted here.

Comments

*This post is locked for comments