Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Add existing activity

Posted on by Microsoft Employee

Hello, I have a security role that has the read permissions on activities set to user layer. 

6238302.Capture.PNG

Using the button add existing activity through the associated view, the user can see and choose all the systems activities, not only his activities, as supposed to.

5516.Capture2.PNG

 Does anyone have any idea why the security role doesn't work properly on this view/screen?

*This post is locked for comments

  • RE: Add existing activity

    I did a quick test on the Test environment and it seems to work as you are describing.

    I did not mention Account -> Task, as it has Configurable Cascading with Cascade None set from OOB, so there was no need for me to change it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add existing activity

    Bear in mind this will not do anything to existing records, it will only fix the problem for new child records.

    You don't seem to have configured Account > Task relationship either.

    You can fix existing records by using a workflow (for example) to move them to a different Account and back again, but for closed cases or activities you would need to re-open them in order to be able to change them, then close again afterwards. Might not be worth the hard work.

  • RE: Add existing activity

    Hello Adam Vero,

    I'm currently working with Maria Miari on the same project. I did follow your instructions and changed 4 relations 1toN from Parental to Configurable Cascading and Reparent set to Cascade None. The relations are:

    1. incident_Emails (Case to Email)

    2. Incident_Tasks (Case to Task)

    3. incident_customer_accounts (account to case)

    4. Account_Emails (account to email)

    User A still see all Account Acme's tasks, Account Acme's cases and activities related with the Account Acme's cases. User A is owner only to the Account, not to task, not to case and not to activities related to this case.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add existing activity

    Its also possible the user is with in a Team so the information is being picked up there as the Team can have different levels of security.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add existing activity

    My guess is that you have more than 472 Activity records in the system as a whole - you can easily verify this by looking at All Activities view using your admin user.

    If I am right, this user is not seeing *all* activities. They are seeing all the activities they have rights to. Which in this case would include Activities which are "Regarding" records that this user owns.

    For example, if user A owns an Account Acme and user B owns a Task regarding Acme, user A can see it. Also if there is a Contact for account Acme, user A can see that. And then they can see activities for that Contact. Or Opportunity, Case etc.

    To prevent this, you need to reconfigure the cascading behaviours for each 1:N relationship from entity X to Y (eg Account: Appointment, Account: Email, Contact: Email, etc), and turn off the "Reparent" cascading which is causing this.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add existing activity

    Hi, Thank you for your answer.

    The permission doesn't come from another security role.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add existing activity

    Hi, Thank you for your answer.

    I have teams but my teams don't have security roles assigned. On the activities views the security role works normally. The user can see only his records. The problem there is only on the "add existing activity" button. You can see that on the look up window gives you the option to show only current users records. But I don't want the user to have the option to see other user's records.

    4670.Capture3.PNG

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add existing activity

    Also Check the teams of that user if the user have part of any teams, then in that case also

    they have higher security roles

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans