Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Creating a note by a user with no rights to the note parent record throws an error.

$
0
0

Hi Everyone,

I know the reason for this error, but I'm looking for ideas on how to solve it. 

I have a security role A where users having this role have Create, Write rights set to User for a custom entity (called C). Now C has Notes switched on. So a user U with role A, can go and create C. U can also add notes. Now say User X comes along who also has role A, he can see the record created by U. If user X go to the Notes section, it allows him to add some notes but when he hits the Done button, CRM throws a generic error.

Error

An error has occurred.

Try this action again....contact Microsoft Support.

So I get it that the security role A, allows any user to create and edit entity C and as Notes will inherit from C, hence users can add and edit notes if they own the record, but those users such as X who dont own the parent record C obviously cant create/edit the notes on that record. But the problem is I'd like to trap this error so that I can prevent it being displayed or atleast inform the user X that he's trying to do something for which he doesnt have access rights. Anyone who has come across this problem too???


Viewing all articles
Browse latest Browse all 82002


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>