)]}'
{
  "commit": "b89994a4ab9c96fe4ddba2ad54c06e7997d7e124",
  "tree": "b49ccc0c5c4e6a786a60b4bf7106053ae6cdb4ca",
  "parents": [
    "2201ae45b375a2608fa70196dc355237d8759dde"
  ],
  "author": {
    "name": "Steve Golton",
    "email": "stevegolton@google.com",
    "time": "Tue Nov 17 11:25:48 2026 +0000"
  },
  "committer": {
    "name": "Steve Golton",
    "email": "stevegolton@google.com",
    "time": "Tue Nov 17 11:25:48 2026 +0000"
  },
  "message": "ui: Let users choose who can open a trace uploaded to Drive\n\nAfter uploading a trace to Google Drive the file was private to the\nuploader, yet \"Copy link\" was the most prominent action, so people sent\nlinks that nobody else could open.\n\n- The upload form gains a \"Who can open it\" choice: Only me (default),\n  Anyone in my organization with the link, or Anyone with the link. The\n  choice is applied after the upload with a link-only permission\n  (permissions.create, allowFileDiscovery: false). The organization\n  domain comes from the signed-in account\u0027s email; personal accounts\n  have none.\n- If Drive refuses (e.g. the organization\u0027s policy forbids it), the\n  file is kept and the form says why, pointing at \"Share\".\n- After uploading, the form shows who can open the file and warns when\n  only the uploader can. \"Check again\" re-reads it, since Drive\u0027s\n  sharing dialog doesn\u0027t report when it closes.\n\nDriveClient gains getAccountEmail(), getSharingStatus() and\nsetLinkSharing(), plus orgDomainOf().\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4f550b640b63819aa57e6f8de41ef496d2fc192a",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.GoogleDrive/google/drive_client.ts",
      "new_id": "c71a66235a6c2fee981d0eebb9a59401759e8b7c",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.GoogleDrive/google/drive_client.ts"
    },
    {
      "type": "modify",
      "old_id": "fd18e271f55a2c14fc7a554c8d243a2e78cc1dec",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.GoogleDrive/google/drive_client_unittest.ts",
      "new_id": "649d154dfc3238ca0b1451fe63675bfcfe09b595",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.GoogleDrive/google/drive_client_unittest.ts"
    },
    {
      "type": "modify",
      "old_id": "c77525ec1204a52441621e5ccbb2a903a2567fda",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.GoogleDrive/index.ts",
      "new_id": "22d9f0c659f5275ff05b485b31556fa0569f0d3b",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.GoogleDrive/index.ts"
    },
    {
      "type": "modify",
      "old_id": "e78e6601d29b1d6b4172ab2c3dadfd5be11bfb14",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.GoogleDrive/share_to_gdrive.ts",
      "new_id": "5283cf4631883ceac7e0040fdbbec3942860b212",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.GoogleDrive/share_to_gdrive.ts"
    },
    {
      "type": "modify",
      "old_id": "577d1eeff9fc370a52f2c5878c7f2a50c06159f7",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.GoogleDrive/views/share_form.scss",
      "new_id": "f58014ef3f0316bc489a2d0017712f37fe36b59a",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.GoogleDrive/views/share_form.scss"
    },
    {
      "type": "modify",
      "old_id": "5520cd9221db97337c7f5ee58825d76ba88fa3d5",
      "old_mode": 33188,
      "old_path": "ui/src/plugins/dev.perfetto.GoogleDrive/views/share_form.ts",
      "new_id": "72e183b7d823b0f446d429864249f1ba4e3c661a",
      "new_mode": 33188,
      "new_path": "ui/src/plugins/dev.perfetto.GoogleDrive/views/share_form.ts"
    }
  ]
}
