---
title: "RedactionRule"
description: "what never leaves the browser: a field, a header, an address key or a pattern in the body, applied before hashing"
section: concepts
address: /concepts/redactionrule
contract: 0476e35e6e275db5
---

# RedactionRule

what never leaves the browser: a field, a header, an address key or a pattern in the body, applied before hashing

[figure: RedactionRule is a row at platform scope. The drawing shows its fields and the objects that they point at.]

| property | value |
|---|---|
| kind | row |
| scope | platform |
| key | its name, and the person when it is the person's own |
| store | postgres |
| family | sources |



## Fields


| field | type | required | note |
|---|---|---|---|
| `name` | `text` | yes |  |
| `applies_to` | `one of field \| header \| address key \| body pattern` | yes |  |
| `pattern` | `text` | yes |  |
| `person` | `id` | no | set when the rule is the person's own |
| `source` | `one of the platform \| the connector \| the person` | yes |  |



## Routes that use it
No route takes or returns RedactionRule directly. The record holds it, and the objects that point at it reach it.
