Skip to main content

Workspace contacts and links — configuration

For whoever looks after the workspace. Who may do what with contacts and with a conversation's links, what reaches a company and what never does, and the erasure of a person's data.

The app​

Contacts and links are part of the workspace app itself: on in every workspace, nowhere else. There is no switch of their own and no setting. A company never holds contacts or links; with a company's sign-in every route answers Workspace is not enabled.

Permissions​

PermissionWhat it allowsSeeded roles in a workspace
contact.readSee every contact of the workspaceEvery role
contact.writeAdd, change and remove contacts; link one to a customer or supplierEvery role but ReadOnly
contact.eraseErase a contact's data and the words they wrote, for goodAdmin only
conversation.write (existing)Link and unlink records on a conversation the person may write inEvery role but ReadOnly
task.write (existing)Make a task from a conversation, with conversation.writeEvery role but ReadOnly

Every contact added by hand or kept is seen by every holder of contact.read: contacts are the account's, as a company's customers are its own people's. A contact made from mail and not yet kept is seen only by those who may see a mailbox it came from (Contacts from mail below). A link is seen by whoever may see its conversation — a private room's links by its members only, an Admin included.

What reaches a company, and what never does​

  • Reading. What is shown beside a conversation, and the company records found to link, are read from each company with the person's own role in that company, in a read-only transaction, within two seconds a company. A workspace Admin who is a Sales clerk in a company reads what a Sales clerk reads there. Somebody with no role in a company sees no access and nothing of it. A company that does not answer is shown as not read; the others still show.
  • Linking checks the person may read that record in that company (its read permission and, for a customer kept to its rep, its row) before the link is made.
  • Writing. The workspace never writes a company. The one thing a company receives is the line on a linked record's history, written by the event relay in the company's own transaction, once, with no words of the conversation. That line is shown only to people who may read the conversation in the workspace; if the workspace cannot be asked, it is hidden.
  • The assistant, asked from the workspace what a conversation is about, reads each company with the person's role there narrowed to reading: it can never change, approve or override anything in a company.
  • A support session reads no company from the workspace.

Contacts from mail​

An hourly job, People from mail (workspace.mail_people, part of Mail), reads each mailbox's new mail and makes:

  • a contact for each address the mailbox wrote with both ways (a message from them that is not automatic, and one to them on To or Cc);
  • an organisation for each work domain those people write from, one per domain. Free mail (gmail.com, outlook.com and the like) never makes one.

Never made: the account's own people and their domains, every mailbox's own address and domain, machine addresses (no-reply@, bounces), what workspace.mail_filing_ignore lists, an address an existing contact holds (even one taken off the list), an address whose contact was erased, and a domain whose organisation was removed.

Which mailboxes follow filing by address (Mail — configuration): a shared mailbox unless its managers turned File on customers and suppliers off, a personal one only when its owner turned it on. With workspace.mail_file_on_records set to Off, nothing is made.

Who sees one. Until somebody keeps it (contact.write, Keep) or links it to a customer or supplier, a contact from mail is seen only by those who may see a mailbox it came from — a personal mailbox's by its owner alone, an Admin included. An organisation from mail is seen by whoever sees one of its people. Keeping a contact keeps its organisation. The audit log records a keep (contact.kept), never the contact's details; an organisation's name, domain and notes are kept out of the audit log too.

Connection strength. The same hourly job then counts, for every contact and every mailbox, the latest message each way and the conversations written both ways in the last 180 days (mail_contact_touches). Each reader's strength, last email and meetings are worked out from the mailboxes and the events they may see, so nothing of a mailbox reaches somebody outside it. Nothing to set; it follows the Mail and Calendar apps.

A contact from mail is seen through its mailboxes for as long as they are there, disconnected ones included. When a mailbox is deleted for good, a contact that came only from it and was never kept is seen by nobody: keep the ones the account needs first.

Erasing a person's data​

An Admin's act (contact.erase), with a reason, refused to a support session:

  • the contact's name, organisation, addresses, numbers and notes are blanked, and any link to a customer or supplier is taken off;
  • the words of every message the contact wrote are blanked, and each line stays in its conversation, marked removed;
  • the address is remembered as a one-way digest, so mail never makes the person a contact again; the address itself is not kept;
  • the audit log never held the details or the words (they are kept out of it from the start), so nothing there needs rewriting; its row for the erasure records who, when, why and how many lines were blanked.

The reason must not name the person. It is kept for good in the append-only audit log, which nothing rewrites: write the request's date and reference (a ticket number, "emailed request of 3 Nov"), never their name, address, email or anything else of theirs, or the log keeps what the erasure removed. The erase dialog says so under the field.

A contact already deleted from the list can still be erased: deleting only hides it. It no longer opens from the list, so erase it through the API (POST /api/v1/workspace/contacts/{id}/erase) with the id the audit log gives.

A company's own contact records are not touched: erase the person there too, on the customer or supplier, if they are one.

Interactions​

  • Chat (workspace.chat): the context beside a conversation is part of the chat screen. With chat off, rooms and their links are hidden, and the links come back with chat.
  • Customers, Sales and Receivables in a company provide what is shown beside a customer: its people (Customers), open orders (Sales, needs sales_order.read there) and open invoices (Receivables, needs customer_invoice.read there and Receivables switched on). A part the person may not read in that company is left out, never shown as empty.
  • Suppliers show their own people (needs vendor.read there).
  • Tasks: a task made from a conversation is an ordinary workspace task.

Keep the seeded roles. Give contact.write to whoever talks to customers and suppliers. Leave erasure with the Admin.