{"meta":{"title":"当组织中的GitHub Copilot策略出现冲突时的功能可用性","intro":"将 Copilot 策略决策委派给组织会影响具有不同策略的组织授予许可证的用户。","product":"GitHub Copilot","breadcrumbs":[{"href":"/zh/enterprise-cloud@latest/copilot","title":"GitHub Copilot"},{"href":"/zh/enterprise-cloud@latest/copilot/reference","title":"参考资料"},{"href":"/zh/enterprise-cloud@latest/copilot/reference/enterprise-administrators","title":"企业管理员"},{"href":"/zh/enterprise-cloud@latest/copilot/reference/enterprise-administrators/policy-conflicts","title":"策略冲突"}],"documentType":"article"},"body":"# 当组织中的GitHub Copilot策略出现冲突时的功能可用性\n\n将 Copilot 策略决策委派给组织会影响具有不同策略的组织授予许可证的用户。\n\n## 关于将策略决策委托给组织\n\n可以为整个企业定义策略，也可以在组织级别设置策略。 请参阅“[针对企业和组织的 GitHub Copilot 策略](/zh/enterprise-cloud@latest/copilot/concepts/policies)”。\n\n当企业所有者通过设置“No policy”将策略控制权委托给组织所有者时，某些组织可能会启用一项功能，而另一些组织则禁用该功能。 对于同一 Copilot 功能，具有不同策略的组织可能会向用户授予许可证。\n\n## 如何确定可用性\n\n用户的功能、模型和隐私设置根据授予许可证的任何组织\\*\\*\\*\\* 定义的**限制性最低**或Copilot策略进行设置。\n\n* 限制性最低：如果有任一组织启用了某个功能，则此功能在任何组织中都对用户启用\\*\\*\\*\\*\\*\\*\\*\\*。 这适用于除更敏感的 Copilot 功能之外的所有功能。\n\n* 限制性最高：如果有任一组织禁用了某个功能，则此功能在所有组织中对用户禁用\\*\\*\\*\\*\\*\\*\\*\\*。 这仅适用于最敏感的 Copilot 功能，例如：使用 API 访问 Copilot 指标。\n\n## 具有 Copilot 多个组织的成员的可用性\n\n<!--The table below uses the following sort order:\n    1. Policies with \"Most restrictive\" at the top in alphabetic order.\n    2. Follow with remaining policies in alphabetic order.-->\n\n| Policy         | 可用性匹配项   | 详细信息 |\n| :------------- | :------- | :--- |\n| Copilot 指标 API | 限制性最高的组织 |      |\n\n[用于 Copilot 使用情况指标的REST API终结点](/zh/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics) |\n\\| 非GitHub 存储库的语义索引 | 限制最严格的组织（仅当所有组织都显式设为 **已启用** 时才可用；**未配置** 视为禁用） |\n[为GitHub Copilot编制存储库索引](/zh/enterprise-cloud@latest/copilot/concepts/context/repository-indexing) |\n\\| 公共代码匹配建议（隐私政策） | 限制性最高的组织 |\n[IDE 中的 GitHub Copilot 代码建议](/zh/enterprise-cloud@latest/copilot/concepts/completions/code-suggestions) |\n\\| 允许没有Copilot许可证的成员使用Copilot code review在GitHub.com | 限制性最高的组织 |\n[应用卡片：GitHub Copilot 智能体](/zh/enterprise-cloud@latest/copilot/responsible-use/agents) |\n\\| Copilot 可以搜索网页 | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 对话助手](/zh/enterprise-cloud@latest/copilot/responsible-use/chat) |\n\\| Copilot Chat in GitHub Mobile | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 对话助手](/zh/enterprise-cloud@latest/copilot/responsible-use/chat) |\n\\| Copilot Chat 在 IDE 中 | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 对话助手](/zh/enterprise-cloud@latest/copilot/responsible-use/chat) |\n\\| Copilot IDE 聊天中的代理模式 | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 对话助手](/zh/enterprise-cloud@latest/copilot/responsible-use/chat) |\n\\| Copilot code review | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 智能体](/zh/enterprise-cloud@latest/copilot/responsible-use/agents) |\n\\| Copilot cloud agent | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 智能体](/zh/enterprise-cloud@latest/copilot/responsible-use/agents) |\n\\| Spark | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 智能体](/zh/enterprise-cloud@latest/copilot/responsible-use/agents) |\n\\| Copilot 在 GitHub.com 中 | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 对话助手](/zh/enterprise-cloud@latest/copilot/responsible-use/chat) |\n\\| Copilot in GitHub Desktop | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 对话助手](/zh/enterprise-cloud@latest/copilot/responsible-use/chat) |\n\\| Copilot CLI | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 智能体](/zh/enterprise-cloud@latest/copilot/responsible-use/agents) |\n\\| GitHub Copilot app | 限制性最低的组织 |\n[关于 GitHub Copilot 应用](/zh/enterprise-cloud@latest/copilot/concepts/agents/github-copilot-app) |\n\\| 编辑器预览功能 | 限制性最低的组织 |\n[GitHub 预发行许可条款](/zh/site-policy/github-terms/github-pre-release-license-terms) |\n\\| 中的 MCP 服务器 Copilot | 限制性最低的组织 |\n[为存储库配置 MCP 服务器](/zh/enterprise-cloud@latest/copilot/how-tos/copilot-on-github/customize-copilot/configure-mcp-servers) |\n\\| Copilot-生成的提交信息 | 限制性最低的组织 |\n[应用卡片：GitHub Copilot 对话助手](/zh/enterprise-cloud@latest/copilot/responsible-use/chat) |\n\n## 面向来自多个企业的 Copilot 成员的可用性\n\n如果用户收到来自多个不同企业的许可证，则最 **严格的** 策略通常适用。 例外情况包括：\n\n* AI 积分付费使用（此项适用于企业，而非用户）\n* GitHub Spark\n\n## 后续步骤\n\n* [管理组织中GitHub Copilot的策略和功能](/zh/enterprise-cloud@latest/copilot/how-tos/administer-copilot/manage-for-organization/manage-policies)\n* [管理企业中 GitHub Copilot 的策略和功能](/zh/enterprise-cloud@latest/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-enterprise-policies)"}