---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Policy stacking and precedence in ServiceNow Arc

# Policy stacking and precedence in ServiceNow Arc {#ariaid-title1}

Release version: Brazil  
Updated September 29, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Policy stacking and precedence in ServiceNow Arc

ServiceNow Arc supports multiple policies applying to the same user by merging them and resolving conflicts based on a fixed order of priority, specificity, and restrictiveness.
This enables flexible and controlled policy management across different user groups or scenarios without altering the Default Policy directly.
Show full answer Show less  

## How Policy Stacking Works

* **User Criteria:** Each policy defines which users it applies to. Policies matching a user are merged.
* **Priority:** Policies have a numeric priority where lower numbers mean higher priority. Rules from policies with the highest priority override others.
* **Specificity:** When priorities tie, the policy rule matching more of the command (e.g., a more specific approval pattern) takes precedence.
* **Restrictiveness:** If conflicts remain, the more restrictive rule applies, ensuring safer outcomes.

## Restrictiveness Hierarchy by Component

Restrictiveness determines which conflicting rule applies when other factors tie. The hierarchy from most to least restrictive includes:

* **Tool gate:** Deny \> HITL (Human-in-the-Loop) or Auto \> Allow
* **Approval pattern:** Hard gate \> Soft gate
* **File type rule:** Deny \> Allow write \> Allow read
* **Network rule:** Not allowlisted \> Allowlisted
* **Sandbox filesystem:** Deny \> Read and write \> Read
* **Connector scope:** Scope off \> Scope on

## Changing Default Behavior Safely

* **Create override policies instead of editing the Default Policy:** Define new policies with specific user criteria and set a priority number lower than the Default Policy's (which is 999) to override it.
* **Add only changed rules:** Rules not specified in the override policy inherit from the Default Policy.
* **Reversibility:** Deleting the override policy reverts to the Default Policy behavior.
* **Advantages:** Keeps Default Policy intact for updates, provides clear and explainable policy overrides, and allows easy rollbacks.

## Practical Example

To allow developers access to an internal package registry blocked by the Default Policy's network allowlist, create a new policy targeted to the developer group that includes an active network rule allowing access to **registry.example.com**. This policy merges with the Default Policy, enabling access only for that group without altering the Default Policy globally.  
When more than one policy applies to a user, ServiceNow Arc merges them and resolves conflicts by priority in a fixed order, specificity, and restrictiveness.  
More than one policy can apply to the same user, for example the Default Policy and a policy for a support team. The User Criteria field on each policy record decides which users the policy applies to. The instance merges every policy whose user criteria match the user, then resolves conflicts in the following order:

1. Priority: Each policy has a priority number, and a lower number means a higher priority. The rule from the policy with the lowest priority number wins. For example, if the Default Policy has priority 999 and a support team policy has priority 100, the support team policy's rules override the Default Policy for users in that team.
2. Specificity: If two conflicting approval patterns come from policies with the same priority, the pattern that matches more of the command wins. For example, when a user runs git push --force, a pattern for git push --force takes precedence over a pattern for git push.
3. Restrictiveness: If rules still tie, the more restrictive rule applies, so an ambiguous configuration always resolves toward the safer outcome.
{#policy-stacking-precedence-cowork__ol-resolution-order}

## Restrictiveness by component {#policy-stacking-precedence-cowork__restrictiveness}

{#policy-stacking-precedence-cowork__table-restrictiveness__entry__2}

| Component | Most restrictive to least restrictive |
|-|-|
| Tool gate | Deny, then HITL or Auto, then Allow |
| Approval pattern | Hard gate, then soft gate |
| File type rule | Deny, then allow write, then allow read |
| Network rule | Not allowlisted, then allowlisted |
| Sandbox filesystem | Deny, then read and write, then read |
| Connector scope | Scope off, then scope on |
[Table 1. Restrictiveness by component]

{#policy-stacking-precedence-cowork__table-restrictiveness}

## Change default behavior {#policy-stacking-precedence-cowork__change-defaults}

To change a default, create a policy instead of editing the Default Policy:

1. Create a policy and set its user criteria to the users or groups it applies to.
2. Set a priority number lower than the policy you want to override. The Default Policy has priority 999. New policies have priority 1,000 by default, so change the priority, or the new policy doesn't override the Default Policy.
3. Add only the rules you want to change. Anything you don't add keeps coming from the Default Policy.
{#policy-stacking-precedence-cowork__ol-change-defaults}

To undo the change, delete your policy. The previous behavior returns.  
This approach has the following advantages:

Intact defaults

:   The Default Policy stays unchanged and keeps receiving product updates.

Explainable policy

:   The override and the rule it overrides both exist as records, so you can explain the effective policy.

Reversible changes

:   Reverting means deleting one record.

## Example: Allow a site that the Default Policy blocks {#policy-stacking-precedence-cowork__example-network-rule}

Your developers need Arc to reach your internal package registry at registry.example.com, which isn't on the Default Policy
network allowlist. To allow it, create a policy for the developer group, add a network rule for registry.example.com, and make sure the rule is active. At the next sync, the client receives the Default Policy allowlist and your rule
merged together, so the registry is reachable for developers only.

