Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

enable managerial hierarchy with security roles

(0) ShareShare
ReportReport
Posted on by 185

Hello community,

We have created two custom entities in our crm environment, contract and contract period, and since they represent sensitive data, we need to be vigilant regarding security roles.

We have two categories who use these records, sales managers and their subordinate sales representatives. Managers must be able to see and manage their sales representative's contracts.

Knowing that the relationship between these two categories is established using the "manager" field of the user entity, we have come up with the following solution :


- two security roles for each category
- enable managerial hierarchy and exclude all entities except these two

The solution meets the requirement, but it is complicated to exclude all except two entities and to do the same in every environment.

Is there a better solution to achieve this? If not, how can we transfer the configuration across environments?

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans