Share a project’s documents with other projects
Teams depend on each other’s CI. Project A’s people often need project B’s Daily CI review and CI jobs, without being members of B. B’s Sharing page lets B’s admin share them, and only them.
Before you start
- A control plane (Team, Business or Enterprise).
- The role Admin in the project that shares, or in the organisation. Every member of the project sees what it shares and who read it.
Share
-
Open the project, then under Project settings Sharing.
-
Click Share with a project, choose the project, or The whole organisation (every person with a role in it).
-
Choose what it shares:
Kind What the other project reads Daily CI review each review of the project’s CI CI history and jobs the CI history the dashboard’s CI jobs read Flaky tests and the quarantine, Flaky tests measured the flaky tests found and measured Broken tests and the quality audit the quality audit Suite Health the suite’s health Every cause of a failed build the causes reports Change risk the risk of each change Status report the status reports Compliance readiness the compliance assessments -
Optionally an end date, then Share.
Never shared, whatever you choose: the configuration, model endpoints and keys, agents, licences, Fistron Memory, conversations, and anything private to a person.
What the other project gets
Every member of the other project, whatever their role, opens the shared documents in full, also one who is not a member of this project; they never change them. Documents are read live: nothing is copied, and a revoked or expired grant hides them at the next read. Nothing else of this project is reachable, through the API or the database.
In the other project:
- The tab Shared with this project of its Documents lists them with their origin (“from project B”); each opens read-only.
- Fištrónek reads them too, and an answer citing one names its project
(the citation’s path starts with
shared/<project>/). - A widget of its dashboard (Daily CI review, CI jobs, Flaky tests, Broken tests) adds them with its filter Also from; after a revocation it says “No longer shared by B” instead of B’s data (Your team’s dashboard).
From the API: GET /api/v1/projects/{project}/shared lists what other
projects share with a project, and GET /api/v1/projects/{project}/shared/{digest}
reads one of them.
Between organisations
Another organisation (a vendor, a customer, a partner) gets your documents only as copies, never by reading your organisation; for Business and Enterprise.
- An admin opens Organisation, the tab Agreements, and clicks Propose an agreement: what is copied (the kinds above), which way (We send to them, They send to us, Both ways), the data classes allowed, your projects that send (none chosen: every project), your project that receives, an end date, and whether the copies stay when it ends.
- Propose the agreement shows a code once, valid 7 days: give it to the other organisation’s admin, by a channel you trust.
- Their admin pastes it into The code you were given, chooses their projects and clicks Accept the agreement.
From then on each new document of an agreed kind in a sending project is
copied into the receiving organisation’s project, named “from
Either admin clicks End: nothing more is copied, and the copies
received are deleted, unless the agreement keeps them or, when it says
nothing, the receiving organisation’s setting (When an agreement ends,
the copies we received: deleted by default, or kept with their origin).
The audit trail has agreement.propose, agreement.accept,
agreement.copy, agreement.end and agreement.settings.
Change, revoke and audit
Change sets other kinds or another end date; Revoke ends the grant
at once. The page lists the reads of the last 30 days: who, when and which
document. The audit trail has sharing.grant, sharing.change,
sharing.revoke and every sharing.read.
State today
Grants between projects, the page Sharing, the shared documents in a project’s Documents, the dashboard’s widgets with another project’s documents, and the organisation’s dashboard showing the projects shared with the whole organisation work, Fištrónek reads the shared documents, and agreements between organisations copy documents into each other. The status report citing a shared document comes next (ADR 0163).