CloudflareDina Kozlov8 min readintermediate
Give every teammate and agent the right level of access to your Workers
Summary
Cloudflare adds four granular roles (Metadata Read‑Only, Content Read‑Only, Editor, Admin) that can be scoped to a single Worker (or other Developer Platform resources). The roles let you enforce least‑privilege for teammates, CI/CD agents, or third‑party services, and can be granted via the dashboard or scoped API tokens.
- Roles are scoped at three levels – platform, product, or individual resource – letting you limit access to exactly one Worker.
- Metadata Read‑Only: view settings, metrics, logs, traces; no code access.
- Content Read‑Only: read Worker code or D1 data; no write capability.
- Editor: read/write code and settings; cannot create or delete the Worker.
Fine‑grained, resource‑level permissions let large teams and automated agents follow the principle of least privilege, reducing blast‑radius of credential leaks or mis‑configurations while still supporting typical workflows (debugging, code review, CI deployment).
5/10


