简体   繁体   English

Dynamics CRM限制所有者团队的访问

[英]Dynamics CRM restrict access by Owner Team

I inherited a CRM implementation where about 90% of the CRM work has already been completed before the original developer left the project. 我继承了一个CRM实施,其中原始开发人员离开该项目之前,大约90%的CRM工作已经完成。 I am trying to fix access issues in regards to related entities. 我正在尝试解决与相关实体有关的访问问题。 The CRM Organization has a single Business Unit. CRM组织只有一个业务部门。

Whenever a Case (aka incident) is created, a plugin creates a new Owner Team. 每当创建案例(又名事件)时,插件都会创建一个新的所有者团队。 The Plugin adds the current user as the admin for the team and assigns the Case to the newly created team. 插件将当前用户添加为团队的管理员,并将案例分配给新创建的团队。 The team will have a name of "CT_XXX" where XXX represents the Case Title. 小组的名称将为“ CT_XXX”,其中XXX代表案件标题。 I haven't worked with CRM 2016 Online before and am not very familiar with the Owner Team. 我之前从未使用过CRM 2016 Online,并且对所有者团队不太熟悉。

How would I restrict access to custom entities to members of the CRM Team based on their relationship to the Case? 我将如何基于CRM与CRM团队成员之间的关系来限制他们对自定义实体的访问? For example, when I open a Case (abc123), there are 10 related entities. 例如,当我打开一个案例(abc123)时,有10个相关实体。 One of the entities, Private Documents, should only be accessible to members of the Owner Team (CT_abc123). 实体文档之一,仅所有者团队成员(CT_abc123)可以访问。 The other entities have no such restriction and are open to all users. 其他实体没有这种限制,并且向所有用户开放。

Any help would be greatly appreciated! 任何帮助将不胜感激!

Creating a new team for every new case is not a solution I would recommend. 我不建议为每个新案例创建一个新团队。

However, your plugin needs to assign a security role to the new team providing the required access rights. 但是,您的插件需要将安全角色分配给提供所需访问权限的新团队。 Users becoming a member of the team inherit the team's roles automatically. 成为团队成员的用户将自动继承团队的角色。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM