)]}'
{
  "commit": "ead1ba45c74092f092d5ca16c1e42a6062b94d18",
  "tree": "8180e7efae432740c9904d790d128785913db0c3",
  "parents": [
    "b2af14229a58de980b132773e44119e8c1683e5d"
  ],
  "author": {
    "name": "Martin Fick",
    "email": "martin.fick@linaro.org",
    "time": "Thu Apr 06 17:46:30 2023 -0600"
  },
  "committer": {
    "name": "Martin Fick",
    "email": "martin.fick@linaro.org",
    "time": "Thu Apr 06 18:08:16 2023 -0600"
  },
  "message": "Fix the buggy task visibility\n\nTaskCofigFactory is looking at the wrong methods to define\nif a ref is visibile to user. Fix to call RefControl.isVisible()\nrather than RefControl.canRead(). canRead() only returns the\nproject permissions but isVisible() takes the user and ref\ninto account. Also modify a supporting test.\n\nOriginally-Authored-By: Adithya Chakilam\nChange-Id: I89ff399e66f06133212825a0fb3f1239734fb1a9\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "908ff0bbcae7a25caa442311cde020331e915840",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskConfigFactory.java",
      "new_id": "dd6ab9dac7dce589f7b94d65ba3a9c48bdc1b039",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskConfigFactory.java"
    },
    {
      "type": "modify",
      "old_id": "510f07394babe31824489763252036aea02c4f3b",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/test/preview.md",
      "new_id": "2a436ae2b1f3a01512248425fb1506ed9f56d610",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/test/preview.md"
    },
    {
      "type": "modify",
      "old_id": "1d3efbd10ba8069d1079c8fb178e57e9426d2cfb",
      "old_mode": 33261,
      "old_path": "test/check_task_statuses.sh",
      "new_id": "9fb939f5dd7f201e1265ba09ed8b41c986449d01",
      "new_mode": 33261,
      "new_path": "test/check_task_statuses.sh"
    },
    {
      "type": "modify",
      "old_id": "73d69c38bd88fa6d32a87ff0f28e928b289c6d23",
      "old_mode": 33261,
      "old_path": "test/docker/run_tests/start.sh",
      "new_id": "5104677286e1e0e14526d0f1d794f816347ad08b",
      "new_mode": 33261,
      "new_path": "test/docker/run_tests/start.sh"
    },
    {
      "type": "modify",
      "old_id": "d0e1527627bfb3e89ab30754b503662e2e447c9a",
      "old_mode": 33261,
      "old_path": "test/docker/run_tests/update-all-users-project.sh",
      "new_id": "55e879aa755510272c9f8c2c0ceb1570755f86fd",
      "new_mode": 33261,
      "new_path": "test/docker/run_tests/update-all-users-project.sh"
    }
  ]
}
