The rule, with an example#
An app may show data only to people who could already read it, unless the data's owner agrees to more.
Here is why the rule exists. Sally Chen builds a sales board at Initech and opens it to the whole Sales group, 40 people. The board reads a Slack channel called #finance-reports, which only 12 people can read, all of them in Sales. Nothing in the app is wrong, but the other 28 people could now see finance figures through it. Without a check, the gap between who can open the app and who can read the data would leak quietly.
So Harebell compares the two sets of people when the app is released. If everyone who can open the app can already read the data, nobody needs to be asked. If not, as here, the data's owner is asked. Ben Okafor created the channel, so he gets the request. Until he answers, the app opens for the 12 who can already read the channel, and the other 28 are refused. Nobody sees anything they could not see before.
Two kinds of access do not need this comparison. An app that reads as the person using it sees only what that person can read themselves, and an app that only posts to a chat channel reads nothing. Writing to a spreadsheet, a document or a database table is different, because it changes what other people read, so the owner is asked as for a read.
Who the data owner is#
The owner is a person, found from the data itself, so nobody has to maintain a list.
| Data | Who owns it |
|---|---|
| A Slack channel | The person who created the channel. If Slack cannot say, the admin who connected Slack. |
| A Google file | The file's owner in Drive. For a file on a shared drive, one of the drive's organizers. |
| A table in a company Postgres database | The data owner named when an admin connected that database. Postgres has no list of readers to compare with, so every grant on its tables goes to this person. |
| An outside web service | Nobody. An admin approves each host, by default, because Harebell cannot see who may read what the service returns. |
We ask owners because they know who should see their data, and admins and security often do not. Harebell can still be told to decide differently: an admin can decide a data approval for the owner in the console, and a policy can ask someone else for a particular kind of request.
A private Slack channel is the one case where Harebell cannot look until it is let in. If Harebell's Slack app is not in the channel, the grant shows Needs an invite, and a member of the channel has to invite @Harebell apps before the next release can use it.
What the owner is asked#
The owner receives a card in Slack, or in Microsoft Teams where Slack is not connected, or an approval page in the console if they use neither. It names the app, who built it, which data, whether it reads, writes or both, and how many people it would newly let see the data. They choose one of three answers.
The first is to approve for everyone who can open the app. The second, offered for a Slack channel, is to approve for members only: the app opens that channel's data only to the channel's own members, so nobody sees what they could not already read. The third is to decline. The console words these as Yes, for everyone who can open it, Yes, but only what each person can open and No.
An approval covers the access and the identity the owner saw on the card. If a later release changes what the app does with the data, from reading to writing for example, or whose identity it uses, the owner is asked again. A release that asks for the same thing as before does not ask again, and an earlier yes or no carries forward.
While an approval waits#
The app does not stop. It serves the people who can already read the data, and the release itself does not wait for the owner. The owner is reminded after 24 hours, an admin is asked as well after 48 hours, and the request expires after 7 days. When it expires, the app keeps serving only the people who can already read the data until a release asks again, and the builder is told.
On Home, a person who has something waiting sees it with a Decide button. The grant itself shows Waiting for you to the owner and Waiting to everyone else.
The check does not stop at release#
Approving at release would not be enough. People leave channels and lose access to files, and an app that was safe on Monday could be showing data to someone who lost access on Tuesday. So your gateway keeps checking where the data is read.
It re-reads who can read each granted source in turns that start at most 15 minutes apart. Slack also reports when someone joins or leaves a channel, so those changes are picked up sooner, though a channel is re-read this way at most once every five minutes. When the readers shrink, your front door refuses the person who lost access on their next request, unless the owner had approved them by name, and the builder and the owner are told. If the re-read keeps failing, your front door trusts the last answer for one hour, and after that it fails closed: only people the owner approved by name are let in, and the builder and an admin are told.
You will see these records in the audit trail, which counts who joined and who left, but never names them.
Taking access away#
There are three levels, from narrowest to widest.
The narrowest is one grant. The data owner, or an admin or security, opens Connections and presses Take back beside the app. The app stops reaching that data within a minute and stays without it until the owner approves it again. Releasing the app again does not undo this, and the same is true of a decline or a members-only answer: a later release inherits the owner's decision. The grant then shows Taken back. Owners who are not admins see only the data they own, under "Apps using your data".
The next level is a whole connection. An admin opens the service on the Connections page and disconnects it, and every app stops reaching it. Disconnecting ends Harebell's use of the connection. It does not delete the stored secret from your account, and it does not reach into the other service, so also revoke it there: uninstall the app in Slack, delete the federated credential in Microsoft Entra, or delete the workload identity pool in Google Cloud. The console reminds you of the right step when you disconnect.
The widest is stopping the app itself, which Stop an app right now covers.
Seeing who has access to what#
Admins and security see every app's access. The Connections page lists each service, and its Used by tab lists the apps that use it, the owner of each piece of data, and the state of each grant, such as In use, Approved, Members only, Declined and Expired. Filters narrow the list to what is waiting, and a search box finds an app, a piece of data or an owner. Admins and security can also press Take back on any grant that still reaches data, including one still waiting for its owner, because it already serves the people who can read the data. They can stop access this way but never widen it: only the owner can approve the app again.
The services themselves are connected once for the whole company, and Connect Slack, Google and Microsoft walks through that setup.