> ## Documentation Index
> Fetch the complete documentation index at: https://midplane.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Groups and access

> Everyone and the groups you make, and each source's access: who reads it, tables kept to some groups, masked columns cleared for some groups, published from a draft.

Each source's access names groups: who reads the source, which tables are
kept to some groups, and who sees a masked column clear. Owners and admins
change both on **Access**.

## Everyone and groups

**Everyone** is built in and holds everyone in the workspace, including
people who join later. Confirming a source's [review](https://midplane.ai/docs/review.md) opens the
source to Everyone, through its masks.

Make other groups under **Groups**, such as Finance or Support; anyone can
be in any number. A name is at most 60 characters, unique whatever its case.
A group grants nothing until a source's access names it.

> [accordion] If you rename or delete a group
>
> Access names the group itself, so a new name changes nothing else.
> Deleting a group removes every rule naming it at once, published or in a
> draft. A table or source read only by that group is then read by no one
> until you publish another group for it.

## Access by source

Open a source under **Access by source**. Its page lists what someone
narrowed, from the source down:

| Section | What it decides |
| - | - |
| **Who can read** | **Everyone in** the workspace, where a source starts after its review, or **Only some groups**. It applies to every table not kept to some groups. |
| **Tables kept to some groups** | Only the groups beside **Only** read the table, whoever reads the source. **Follow the source** undoes it. |
| **Masked columns** | Each masked column. Change its mask (**Not masked** clears it for everyone), add groups beside **Clear for** to show it clear to them, or **Mask another column** the review left clear. |

* **No group means no one.** **Only some groups** with none, or a kept table
  with none, is read by no one. Removing the last group never opens it to
  everyone.
* **Clearing needs reading.** A group that can't read a table gains nothing
  from seeing its column clear, and the page says so beside the column.
* **New tables stay closed** until someone saves the [review
  again](https://midplane.ai/docs/review.md#tables-and-columns-added-later).

## Review and publish

Every change goes into a draft, one per source, shared by its owners and
admins. Agents read what is published until someone publishes the draft.

**1. Review the draft**

Select **Review and publish**. The dialog lists **What changes**, rule by
rule, and **What people end up with**, person by person. If someone
edits the draft meanwhile, publishing is refused: review it again.

**2. Publish**

Every agent's next call uses the new access, with no new sign-in.

**Check:** the bar shows **Published**.

> [accordion] If access changed since your draft began
>
> Saving the source's review again changes its published access: the page
> says **changed since this draft began** and refuses to publish. Select
> **Bring it up to date**: your draft's changes stay, the rest takes what is
> published now.

## Groups only add

A person's access to a source is what Everyone and each of their groups
give, added up:

* **A table is readable** if any of their groups reads it.
* **A masked column is clear** if any of their groups that can read its
  table sees it clear. Otherwise it comes back masked.

No group takes access away: keeping a table to Finance is what takes it from
everyone else. Roles add nothing either: owners and admins read only what
their groups read.

Say `shop` is read by Everyone, `payroll` is kept to Finance, and
`customers.email` is **Hidden** and clear for Support:

| Person | Groups besides Everyone | Reads `payroll` | Gets `customers.email` |
| - | - | - | - |
| Ana | None | No | `***` |
| Ben | Support | No | Clear |
| Chloe | Finance | Yes | `***` |
| Dev | Finance, Support | Yes | Clear |

Taking Ben out of Support masks `customers.email` again from his agent's
next call.

## What people and agents see

* **Members** opening a source see **Your access to** it: each table they
  read, and the columns masked for them. That is what their agents read now.
* **Agents** don't see tables the person can't read in `find_data` or
  `describe_table`. A query that reads one is denied as the workspace's
  policy, and [Activity](https://midplane.ai/docs/activity.md) shows the rule "Table access".


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.