owners:
- hchao@chromium.org
- cthomp@chromium.org
- chrome-secure-web-and-net@chromium.org

caption: Specifies whether to (temporarily) opt out of Local Network Access
  restrictions

desc: |-
  When this policy is set to Enabled, <ph name="LOCAL_NETWORK_ACCESS">Local Network Access</ph>
  requests will only display warnings in <ph
  name="CHROME_DEVTOOLS_NAME">Chrome DevTools</ph> due to <ph
  name="LOCAL_NETWORK_ACCESS">Local Network Access</ph> checks failing.

  When this policy is set to Disabled or unset, <ph
  name="LOCAL_NETWORK_ACCESS">Local Network Access</ph> requests will use the
  default handling of these requests.

  See https://wicg.github.io/local-network-access/ for <ph
  name="LOCAL_NETWORK_ACCESS">Local Network Access</ph> restrictions.

  This enterprise policy is temporary, and will be removed after M163.

  Long term, the policy <ph
  name="LOCAL_NETWORK_ACCESS_ALLOWED_FOR_URLS_POLICY_NAME">LocalNetworkAccessAllowedForUrls</ph>
  can be used to allowlist URL patterns that should be automatically granted
  the <ph name="LOCAL_NETWORK_ACCESS">Local Network Access</ph> permission.
default: false

supported_on:
- chrome.*:142-
- chrome_os:142-
- android:142-

features:
  dynamic_refresh: true
  per_profile: true

type: main

schema:
  type: boolean

items:
- caption: Temporarily opt out of restrictions on requests to local network endpoints
  value: true
- caption: Use default behavior when determining if websites can make requests
    to local network endpoints
  value: false

example_value: true

tags: []
