)]}'
{
  "commit": "b184180743d7781c02f65ea8004afd3d03780de4",
  "tree": "b17057f3699f038a58e6619e634d92df082dd523",
  "parents": [
    "4c77913eb8e4d891301dbcbc0d1fcece423cc96f"
  ],
  "author": {
    "name": "Milutin Kristofic",
    "email": "milutin@google.com",
    "time": "Tue Feb 04 04:17:22 2025 -0800"
  },
  "committer": {
    "name": "Milutin Kristofic",
    "email": "milutin@google.com",
    "time": "Tue Feb 04 14:09:01 2025 +0100"
  },
  "message": "Fix(watched-projects): Surface existing project errors\n\nAdding a new watched project could fail because, during the add\noperation, an access check is performed on the combined list of watched\nprojects (including the newly added one and existing ones), and this\ncheck can fail if the existing list contains inaccessible projects. This\ncan happen when a user adds a project to their watched list, and that\nproject is later made hidden or deleted.\n\nThis change surfaces these errors when fetching the watched projects\nlist. By displaying these errors in the UI, users can identify and\nremove the inaccessible projects, resolving the issue and allowing them\nto successfully add new watched projects.\n\nChange-Id: I6e55fd3fabc6de315a0e9fbfb280e2e5839c5688\nRelease-Notes: skip\nGoogle-Bug-Id: b/389630826\nSigned-off-by: Milutin Kristofic \u003cmilutin@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cb3517d09cde98c4e1f581c444200a185c5d6489",
      "old_mode": 33188,
      "old_path": "Documentation/rest-api-accounts.txt",
      "new_id": "1c77e4ac33c761006a93d7f2bc5491ef6188bdfa",
      "new_mode": 33188,
      "new_path": "Documentation/rest-api-accounts.txt"
    },
    {
      "type": "modify",
      "old_id": "8f5af76e9731100c8878918adb0492350af78bff",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/extensions/client/ProjectWatchInfo.java",
      "new_id": "c446d87d1afffb4de799076d2232abdefbecd5c1",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/extensions/client/ProjectWatchInfo.java"
    },
    {
      "type": "modify",
      "old_id": "00c70d053d917e6381ee80675b0ff2dc8d3ea07d",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/restapi/account/GetWatchedProjects.java",
      "new_id": "8f047a35de322dd151b34adb0f14bb359445caea",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/restapi/account/GetWatchedProjects.java"
    }
  ]
}
