> ## Documentation Index
> Fetch the complete documentation index at: https://flatfileinc-remove-rss-json.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Access

> control user interactions with your data

# Sheet level access

<ParamField path="access" type="array" default="*" optional>
  With `access` you can control Sheet-level access for users.
</ParamField>

### `"*"` *(default)*

A user can use all access actions to this Sheet

<Warning>
  Warning: If you use `"*"` access control, users will gain new functionalities
  as we expand access controls. Use an exhaustive list today to block future
  functionality from being added automatically.
</Warning>

### `"add"`

A user can add a record(s) to the Sheet

### `"delete"`

A user can delete record(s) from the Sheet

### `"edit"`

A user can edit records (field values) in the Sheet

### `"import"`

A user can import CSVs to this Sheet

### `<empty>`

If no parameters are specified in the access array, sheet-level readOnly access
will be applied. No data can be added, edited, imported, or removed.

```json theme={"system"}
{
  "sheets": [
    {
      "name": "Contacts",
      "slug": "contacts",
      "access": ["add", "edit"]
      // Define fields
    }
  ]
}
```

# Field-level access

### `readonly`

On a field level you can restrict a user's interaction with the data to
`readonly`. This feature is useful if you're inviting others to view uploaded
data, but do not want to allow them to edit that field. See the example in
context below:

```json theme={"system"}
"fields": [
  {
    "key": "salary",
    "type": "number",
    "config": {
        "decimal_places": 2
    },
    "readonly": true
  }
]
```
