[web] Gate new reusable sharing links behind sharing-updates-new-link (#35412)

Ship the new share-project modal (behind sharing-updates) wired to the
legacy token-based link sharing, and hide the new reusable-link
functionality (anyone with the link / group links) behind a new
sharing-updates-new-link split test.

- With the flag off, the modal offers two options, "Only invited people"
  and "Via sharing links", both driven by publicAccessLevel; the reusable
  -link options, privileges dropdown and copy-sharing-link button are hidden.
- Enable the flag in the acceptance tests that exercise those routes: a
  seeded split test in saas, splitTestOverrides in non-saas.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: thomas- <2176518+thomas-@users.noreply.github.com>
GitOrigin-RevId: 3f34a2da5dbdc6f27ed389f9c25eea66143b8160
This commit is contained in:
Thomas
2026-09-17 11:27:06 +00:00
committed by Copybot
co-authored by Claude Opus 4.8 copilot-swe-agent[bot] thomas-
parent e0d77271c2
commit b8b78b6932
10 changed files with 287 additions and 78 deletions
@@ -498,6 +498,7 @@ const _ProjectController = {
'overleaf-code',
'export-docx',
'sharing-updates',
'sharing-updates-new-link',
'export-markdown',
'export-html',
'command-palette',