Two Projects Share One Repository. Should Each See the Other Team's Deploy Logs?
Two projects can share a repository and still expose code, shared check results, and production deploy records at different scopes. A visibility policy that describes the same run with the same permissions, and how to test it across lists, search, and shared links.
The booking redesign team's fix has been merged. The developer has also seen the shared build go green. That afternoon a customer asks: "Is that fix live in production yet?" To answer, does the developer need access to the entire operations project?
There are three different facts tangled in that question: what code changed, whether it passed checks, and what the operations team deployed where. Two teams that share code and builds can still expose that last fact at a different scope. CollabOps' repository permissions docs likewise assign project membership and repository roles separately, and treat reading code and running pipelines as different permissions.
Sharing a repository means sharing code and shared check results. It does not mean sharing the other team's production deploy records.
How does one repository split into three visibility scopes?
Say booking redesign project A and operations project B share a single booking-api repository. The repository has a shared PR check; A has an integration test; B has a deployment to the prod environment. Here is one possible visibility policy. (Projects and run numbers are illustrative.)
| Account and scope of work | Shared source | Shared PR check #81 | A integration test #31 | B prod deploy #54 |
|---|---|---|---|---|
| A developer | Read code | Results and logs | Results and logs | No access |
| B operator | Read code | Same #81 results and logs | No access | Results and logs |
| B auditor, deploy summaries only | No access | No access | No access | Approval time and rollout result only |
The #81 on both teams' PR check screens is the same run. The raw log of #54, on the other hand, can contain production server names and file paths. What the developer actually needs to answer the customer may be no more than "build 218, which includes the fix, went live at 3:12 p.m." In that case, attach the rollout result that has been cleared for sharing to the issue, and keep B's visibility policy on the raw log.
Is blocking the detail page enough?
No. The policy has to hold not only on the detail page but in lists, search, statistics, and links people forward to each other. If B's deploy titles show up in A's "recent activity" or in search results, part of the information has already leaked even with the detail page locked. Conversely, if the workspace dashboard counts #81 twice because it is visible to both projects, deploy activity gets inflated.
What should an evaluation check?
During an evaluation, use one account to open the project list, global search, and a forwarded link in turn. The bar is whether all three screens describe the same run with the same permissions. Why we came to treat permissions as relationships between resources is covered in moving the permission model onto a graph.
- #permissions
- #git
- #deployment
- #traceability
- #devops