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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Restricting Many To Many Disassociate permissions

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

I want to restrict user from disassociating child record from parent record, can it be done using OOB Security roles? For example there are two Entities A & B both are related as Many To Many. When user open Entity A record where user can see Entity B subgrid records, user should have permission to associate but not disassociate Entity B records. Can we manage this using OOB Security roles or custom plug-in is the way to handle this logic? I tried Append, Append To permissions but it affects both associate/disassociate

Thanks,

Shaik

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    Hi Shaik,

     there is no separate permission for that..

     you might try to emulate through a custom N:N (give "create" permission on the intersect entity, but don't give "delete" or "update").

     If you need out of the box to keep working, you might replace it with the custom N:N on the form and have a plugin to synchronize the changes between custom and out-of-the-box N:N-s

     Or you might add a plugin, but that will work a little differently since you'll have to display an error (rather than to just make those records readonly through security)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans