Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Security model

(0) ShareShare
ReportReport
Posted on by 5

Hi

I have a requirement in my project. I need to design UI where an user selects a position they will be able to find the list of positions they can able to assign roles. After selecting the position they need to get new screen where list of the roles which the position can assign. Please let me know how to customize. MS dynamics V 9.0 on premise version.

*This post is locked for comments

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,052 on at
    RE: Security model

    Hi

    You might want to re-think about your approach as normally the security roles and permissions are controlled and managed by sys admin team.

    Allowing users to assign security roles for themselves may not be a good approach as it might open the system to malicious users / attacks

  • Vaibhav Shukla Profile Picture
    Vaibhav Shukla 120 on at
    RE: Security model

    You need to create two custom entities.

    1-Position.

    2-Roles.

    If you need to attach one Role with only one position then you need to add lookup of Postion on Roles.

    If one need to attach one Role with multiple position then create N:N relationship between them and Postion subgrid on Roles.

    Then you can create HTML web resource for your requirement.

    Vaibhav Shukla

    Please mark as verified if the answer has helped you to resolve the issue, this will help other users in the community to resolve the same or similar issues.

  • Suggested answer
    PranavShroti Profile Picture
    PranavShroti 4,510 on at
    RE: Security model

    This functionality you need to develop from scratch... perhaps you can use custom forms/HTML5/webresources page which will enable you to achieve this.

    Hope this helps,

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Security model

    Hi,

    Are you referring to out of box Position & Security Roles? If yes then you cannot relate security roles with the positions. If you have Position & role as custom entity then you can simply create the lookup field on user entity for both Position & Role (considering custom entity here).

    You can then also apply related lookup filtering to display only roles related to position in the Role lookup.

    Hope this helps.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans