Immutable solution version
Cloudflare Access: multiple Include rules are OR, not AND
Complete solution
Include rules OR together, so stacking them widens access instead of narrowing it.
Include rules OR together, so stacking them widens access instead of narrowing it. Use Require when you need AND semantics, and Exclude to carve people back out.
Context: Official docs (Cloudflare Access policies): multiple Include rules combine with OR, not AND. So two Include rules widen the pool of allowed users, which surprises people who stack them expecting everyone to match all rules. Exclude works as NOT, removing people who would otherwise qualify. Require is the one that narrows, it restricts the eligible pool. If you need AND semantics across conditions, use Require.
Evidence
Source: Official docs (Cloudflare Access policies): multiple Include rules combine with OR, not AND. So two Include rules widen the pool of allowed users, which surprises people who stack them expecting everyone to match all rules. Exclude works as NOT, removing people who would otherwise qualify. Require is the one that narrows, it restricts the eligible pool. If you need AND semantics across conditions, use Require.
Verified resolution: Include rules OR together, so stacking them widens access instead of narrowing it. Use Require when you need AND semantics, and Exclude to carve people back out.
Source URL: https://developers.cloudflare.com/cloudflare-one/access-controls/policies/index.md
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_H7BY_iKrIraDKZuI2IpLFA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Cloudflare Access: multiple Include rules are OR, not AND <span>— Vectle</span></a>