DocsReferenceTerms and shortcuts
Where your data lives and who can see it
How records are separated by company, who reaches them, and how files, AI use, backups and exports are handled.
ConceptWho can do this:Everyone
Every company's records sit in one database and are separated from every other company's. A person's reach inside that company is set by their role, their grants and the records shared with them, and the product cuts each request to what they may see before a screen reads it.
Where the records live#
The records are rows in Leaglety's database, with one workspace for each company. Every row that belongs to a company carries that company's identifier, and row-level security stops one company reading or writing another's rows. A query with no company set returns nothing. The product's shared material, such as the rules, practice areasPractice areaA set of legal work with its own stages, checklists and documents.Read more, courts and the judgments in ResearchResearchThe screen that searches the judgments the product holds, by words, court, year or section.Read more, has no company identifier because it is the same for everyone.
Uploaded files go through one storage layer. On a hosted deployment with file storage configured they sit in a private Cloudflare R2 bucket, and the app serves them through itself rather than linking to the bucket. On a local install they sit on the machine's disk. A file may be up to 25 MB, and the browser sends it straight to storage with a signed link that lasts about ten minutes. A file read for an order, a draft's facts or an inbox update is recorded as a source fileSource fileA file that was read for an order, a draft's facts or an inbox update, kept with what was read from it.Read more, with what was read, in what language and by which reader.
Who can see what#
A role decides the kind of work a person may do. A grant adds a standing right on top: Sees the whole company, Internal CommitteeInternal CommitteeThe committee that receives POSH complaints. Only its members may read a complaint.Read more or PromptPromptAn instruction an Admin writes for Leaglety AI, which Leaglety AI follows only once approved.Read more editor. A record may also be shared with one person, as a matter is shared with the people working on it. The company's own people reach only their company; a person on the legal deskLegal deskLeaglety's own lawyers, who take requests from companies and work inside them through the workspace switcher.Read more reaches a client companyClient companyA company the legal desk works for, opened in the workspace switcher by its people.Read more only through the workspace switcherWorkspace switcherThe control at the top of the sidebar that moves a person between the companies they work with, and back to the legal desk.Read more, and only while the link between the two is active.
Within a company, a MemberMemberA person at the company who sees the obligations they own, the matters shared with them and their own requests.Read more without the whole-company grantWhole-company grantA grant that lets a person see everything at the company, not only the records they own.Read more sees the obligations they own, the matters shared with them and the requests they raised. An ExternalExternalA person outside the company who sees only the matters, notices and drafts shared with them.Read more sees the matters, notices and drafts shared with them. A POSHPOSHThe law against sexual harassment at work, and the complaints screen only the Internal Committee may read.Read more complaint is stored apart and reaches only its complainant and the Internal Committee, never management or a whole-company reader. The full table is at Roles and permissions.
Leaglety AI and AI use#
Leaglety AI and the file readers use an AI provider chosen for the deployment. Where no provider is switched on, Leaglety AI does not answer and says so. When OpenRouter is the provider, every request asks only for endpoints that keep no data and do not collect it. Leaglety AI masks personal identifiers before text leaves and restores them in the answer. Text read from a file for its facts or an order is sent to the provider as data.
Leaglety AI chats are private to their author, under the same database separation. A shared chat is a copy. An answer that used a confidential obligation is hidden from a reader who could not see that obligation.
Audit trail and evidence#
Every change is written to the audit trail with the person, the time and the detail, and an entry cannot be edited or removed. Evidence attached to an obligation is kept with its date, reference and file. The audit trail is at Records → Activity, and evidence is at Records → Evidence.
Backups and exports#
A backup holds every table in one consistent snapshot: every company's records, the accounts, the audit trail, private Leaglety AI chats and their usage. The newest 30 backups are kept. Sessions, saved assistant answers, the judgments in Research and files held in R2 are not in the database backup; R2 keeps its own versions. An Admin can download the company's record from Settings → Backups; that file has no accounts in it and cannot be used to restore a database.
Your own data#
Settings → Privacy and my data has the privacy notice, your consent, and the choice to receive reminders on WhatsApp. Export data gives your person record, consents, acknowledged policies, issues, comments and notifications. Delete my data sends a deletion request to the Legal Consultant. Statutory records are kept for the period the law requires, so a request cannot remove them.
Who to ask#
Ask your Company Admin for access, a share or an export. Where the company is linked to the legal desk, My work → Service team can take the request. Leaglety AI's own reach is described in What Leaglety AI can see.