Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Permission on table in two roles

Posted on by 35
Good morning.
When I have 2 functions having the same table, 1 allowing access and another denying access, the permission that is being denied always prevails. Is there any way to prioritize which one I should consider without having to create another function?
  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,215 Moderator on at
    RE: Permission on table in two roles

    hi

    when you have two functions with conflicting permissions for the same table in Dynamics 365, the permission that is denied will always take precedence over the permission that allows access. This is because Dynamics 365 applies a security principle called "least privilege," which means that users or functions should only have access to the resources they need to perform their job and nothing more.

    If you want to prioritize a specific function's permission without creating a new function, you can modify the existing function to include the specific permission that you want to prioritize. You can do this by editing the function's code and adding the appropriate permission code or by modifying the function's role assignment to grant the necessary permissions.

    Alternatively, you can consider using Dynamics 365's security roles to manage permissions. Security roles allow you to define a set of permissions that can be assigned to users or functions, and you can prioritize these roles based on the user's job function or responsibilities. This way, you can ensure that the appropriate permissions are assigned to the right users or functions, and you can avoid conflicts between different permissions

    DAniele

  • RE: Permission on table in two roles

    permiss_F500_es-invoicetaxtable_5F00_ptr.docx

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,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans