web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Security permission on custom organization level entity

(0) ShareShare
ReportReport
Posted on by 502

Hi Folks,

i want to set permission on records of a custom entity defined at organization level,

I want to acheive a functionality where few of the records of the entity (flagged as confidential) will visible to a particular team.

please help me in case if anyone has encountered with this scenario.

*This post is locked for comments

I have the same question (0)
  • Anil-CloudFronts Profile Picture
    on at

    Hi-

    So your entity owwnership is at the organization level. Records of such an entity are used as reference for all users across CRM. What you are trying to do above is typically handled with ownership set to team or user.  So I request to provide more information on your business process, what is the purpose of the above entity and why you need to hide some of these records. may be something is not correct in the way your business process is implemented in CRM.

    anil.

  • Community Member Profile Picture
    on at

    Hi SGR.  Did you find the solution for this? Thanks.

  • Shirsagr Profile Picture
    502 on at

    no

  • Mandar Joshi Profile Picture
    2,116 on at

    Hi,

    You can look for below two options:

    1. Setting Field level security profile.

    2. Using JavaScript to Hide/Disable the confidential fields depending on logged in user's team.

    Hope this helps!

  • Suggested answer
    Community Member Profile Picture
    on at

    I've implemented this process using security + workflows to 'share/unshare' the records based on your 'confidentiality' flag. - you can find the custom workflow step here: crm2011sharestep.codeplex.com

    You will need a team containing the all users in the organization who should see this entity ordinarily. - (You can use the business unit default team if you only have a single business unit and everyone in the organization should normally see these records.)

    Set all the user security roles' permissions to 'self' for the entity - they should always be able to see records they own regardless of the confidentiality flag.

    On create, the workflow should if the record is NOT marked confidential, share the record to the team.

    If change of the confidentiality flag, just share/unshared with the team as needed.

     

  • Suggested answer
    Community Member Profile Picture
    on at

    BTW - the question is a bit vague - the solution I describe requires that the entity is 'user-owned' - if the entity was created as an 'organization-owned' entity, that solution will not work - the only option would be to delete/recreate the entity with the 'user-owned' option.

  • Community Member Profile Picture
    on at

    I created a replica of the entity with Ownership selected as 'User or Team'.  It allowed assigning security permissions on user, BU, Parent: BU and organization level to different users.

    Luckily we did not have many records in organization level entity.  All records are exported form old entity and successfully imported into the new entity.  Once testing is successfully completed, old entity will be deleted.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans