Skip to content

Commit 9e93c33

Browse files
committed
update note
1 parent 88631eb commit 9e93c33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/admin/repo/perforce.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ If you want Sourcegraph to enforce host-specific permissions, you need to enable
190190
}
191191
}
192192
```
193-
193+
<Callout type="note">
194194
When `enforceIPRestrictions` is set to `true`, Sourcegraph will use the user's IP address to apply Perforce permissions at the user level. It uses the final `X-Forwarded-For` header in the request to identify the user's IP. Note that this header can be easily spoofed, so ensure your load balancer or proxy handles `X-Forwarded-For` headers securely.
195+
</Callout>
195196

196197
##### Ignore rules with host
197198

0 commit comments

Comments
 (0)