Skip to main content

Notifications

Dynamics 365 Community / Forums / Sales forum / What to use to generat...
Sales forum
Suggested answer

What to use to generate a permission error if a user that is not part of the Compliance Team closes a specific task that has a specific Subject.

Posted on by 84

Hello Community, 

I'm struggling to identify what to use for the following scenario:

Only Users that are part of the Compliance Team can close Tasks with the Subject ''XX''. If a Non-Compliance user Closes the XX Task, an error should pop up not allowing the user to close this task. 

Any thoughts?

thank you!

Categories:
  • Suggested answer
    Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    RE: What to use to generate a permission error if a user that is not part of the Compliance Team closes a specific task that has a specific Subject.

    Hi lkay,

    You can use ribbon workbench to customize buttons to show or hide them depending on the user's security role.

    Develop 1 Ltd | Ribbon Workbench for Dynamics 365 & Dynamics CRM

    1.Import the downloaded file as a solution

    2.Create a solution with only the task table (without any data)

    3.Open the solution in the advanced settings, Click the ribbon workbench button to open the solution you just created

    4.Customize the button by referring to the actions in the link: https://d365demystified.com/2021/02/14/show-custom-ribbon-button-based-on-security-role-of-the-logged-in-user-in-dynamics-365-ribbon-workbench-in-xrmtoolbox/

    pastedimage1679038177675v1.png

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,186 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,996 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans