You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e4fc7bc
Browse filesBrowse the repository at this point in the historyBrowse files
docs(permissions): state the allowed_ip_ranges save refusal, the live clear and the env recovery
The authentication page's allowed_ip_ranges row now links a short
subsection that says what the merged code does: a settings save whose
list matches none of the saving request's own address (resolved under
server.trustProxy) is refused with 400 SETTINGS_VALIDATION, a clear
applies at once and returns to the deployment's declared list, and an
empty OS_AUTH_ALLOWED_IP_RANGES is an env override in force that opens
the gate at the next restart while it locks the field.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017ihL2ebbZkr2QAEG1x7UC8
Copy file name to clipboardExpand all lines: content/docs/permissions/authentication.mdx
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -619,7 +619,7 @@ often before the account-level lock engages.
619
619
620
620
| Setting | Effect |
621
621
|---|---|
622
-
|`allowed_ip_ranges`| Restrict authenticated access to one or more IPv4 CIDR ranges (or exact IPs). The address judged is the one the server establishes, by the same rule as the inbound rate limiter: `X-Forwarded-For` / `X-Real-IP` only when the stack declares `server.trustProxy`, the connection's peer address otherwise. Behind a reverse proxy, declare `server.trustProxy`, or the allow-list judges the proxy's own address. A request whose address cannot be established is refused with `403 IP_NOT_ALLOWED`, like one outside the ranges. `last_login_ip` records the same address. |
622
+
|`allowed_ip_ranges`| Restrict authenticated access to one or more IPv4 CIDR ranges (or exact IPs). The address judged is the one the server establishes, by the same rule as the inbound rate limiter: `X-Forwarded-For` / `X-Real-IP` only when the stack declares `server.trustProxy`, the connection's peer address otherwise. Behind a reverse proxy, declare `server.trustProxy`, or the allow-list judges the proxy's own address. A request whose address cannot be established is refused with `403 IP_NOT_ALLOWED`, like one outside the ranges. `last_login_ip` records the same address. A save that leaves out your own address is refused, and clearing the field applies at once: see [Saving, clearing and lockout recovery](#saving-clearing-and-lockout-recovery). |
0 commit comments