Answer: Across policies, a higher-priority policy wins over a lower-priority policy, even when the lower-priority policy is more specific. Within one policy, supported execution settings resolve in this order: an operating-system-specific environment override, an all-OS environment override, then Global. Status: Confirmed Entry: tool/codex/permissions-and-security/how-policies-combine Revision: 1 Digest: sha256:c7db45acd061ee95 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:49:09Z Last changed: 2026-11-13T03:49:09Z Last verified: 2026-11-20T13:37:04Z Next check: 2026-11-21T13:37:04Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Cross-policy precedence | a higher-priority policy wins over a lower-priority policy | [1] | 2026-11-20 Within-policy resolution order | an operating-system-specific environment override, an all-OS environment override, then Global | [1] | 2026-11-20 Local execution ranking | MDM and legacy managed-device requirements rank above Agent Security | [1] | 2026-11-20 System requirements file ranking | The device's system requirements file ranks below Agent Security | [1] | 2026-11-20 Environment override effect | an admin environment override can allow a domain denied in Global or deny a domain allowed in Global | [1] | 2026-11-20 Default inheritance | Without an environment override, the Global rule is inherited | [1] | 2026-11-20 Sources: [1] OpenAI. "Agent Security". https://learn.chatgpt.com/docs/enterprise/agent-security.md Role: primary. Accessed: 2026-11-20T13:37:04Z Quote: "Across policies, a higher-priority policy wins over a lower-priority policy, even when the lower-priority policy is more specific." (Supports: Cross-policy precedence) Quote: "Within one policy, supported execution settings resolve in this order: an operating-system-specific environment override, an all-OS environment override, then Global." (Supports: Within-policy resolution order) Quote: "For local execution, MDM and legacy managed-device requirements rank above Agent Security." (Supports: Local execution ranking) Quote: "The device's system requirements file ranks below Agent Security." (Supports: System requirements file ranking) Quote: "an admin environment override can allow a domain denied in Global or deny a domain allowed in Global" (Supports: Environment override effect) Quote: "Without an environment override, the Global rule is inherited." (Supports: Default inheritance) Snapshot SHA-256: 8284224d6496eaca8fb9fe4577e27f54e141d7137604d1ffa76a5f1a6094e067 (captured 2026-11-13T03:49:08Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:49:09Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:37:04Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:37:04Z Last attempt: 2026-11-20T13:37:04Z Notes and limitations: Extracted automatically from a single official source (section "Understand how policies combine"). Related: https://latestn.com/tool/codex/permissions-and-security/inspect-repository-history How do I inspect repository history in the Codex Security workbench? https://latestn.com/tool/codex/permissions-and-security/isolate-environment-cybersecurity How do I isolate the environment when running Codex for cybersecurity work? https://latestn.com/tool/codex/permissions-and-security/manage-privileges How do I manage privileges and permissions for the Codex GitHub Action? https://latestn.com/tool/codex/permissions-and-security/gateway-auth-headers What authentication and headers must a gateway preserve for Codex? https://latestn.com/tool/codex/permissions-and-security/gateway-authentication-methods Which authentication methods can Codex use to connect to a gateway? https://latestn.com/tool/codex/permissions-and-security/gateway-authentication-options What authentication options does a Codex gateway support? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:49:09Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/permissions-and-security/how-policies-combine/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/permissions-and-security/how-policies-combine POST: https://latestn.com/dispute/tool/codex/permissions-and-security/how-policies-combine with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/permissions-and-security/how-policies-combine?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do Global, Local, and Codex Cloud policies combine in Codex Agent Security? Revision 1, last verified 2026-11-20T13:37:04Z. https://latestn.com/tool/codex/permissions-and-security/how-policies-combine (accessed 2026-11-21T10:07:15Z). @misc{LatestN_tool_codex_permissions_and_security_how_policies_combine_r1, title = {How do Global, Local, and Codex Cloud policies combine in Codex Agent Security?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/permissions-and-security/how-policies-combine}}, note = {Revision 1; digest sha256:c7db45acd061ee95; last verified 2026-11-20T13:37:04Z; accessed 2026-11-21T10:07:15Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/permissions-and-security/how-policies-combine