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