)]}'
{
  "commit": "a6400a96d06ff1f077b23c26f3235c6e1a0337f9",
  "tree": "80d24d50c273a2186f35e581f9d1c8d5aa2d5d0c",
  "parents": [
    "64750bd4b198991709eb4604898f0312fcb3126d"
  ],
  "author": {
    "name": "Simon Lei",
    "email": "simon.lei@ericsson.com",
    "time": "Thu Dec 18 10:07:57 2014 -0500"
  },
  "committer": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Thu Jan 08 17:38:55 2015 +0100"
  },
  "message": "Fix faulty behaviour in BLOCK permission\n\nBLOCK can be overruled with ALLOW on the same project, however there\nis a bug that happens when a child of the above project duplicates the\nALLOW permission, in this case the BLOCK will always win for the child,\neven though the BLOCK was overruled in the parent.\n\nThis behaviour occurs because the ALLOW permission of the parent is\noverridden by the ALLOW of the child, so when the BLOCK check occurs\nthe code thinks the permission should be blocked because it doesn\u0027t see\nthe ALLOW of the parent and BLOCK can only be overruled from the same\nproject.\n\nBug: issue 2995\nChange-Id: Ib100deb181a0fdb07527a7242c4d4e8c4fe24b9b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "63d2b35fa3fbb5297c7b98ba29f3a23f19433f7e",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/PermissionCollection.java",
      "new_id": "321c2ea2641a179ec763c90b935f5e4a436e893c",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/PermissionCollection.java"
    },
    {
      "type": "modify",
      "old_id": "00ecee319d592c16b2744fc696af187b9f807ab3",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/RefControl.java",
      "new_id": "7dc7a2a4cb947b4b75c011ba3d68784fd2601f48",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/RefControl.java"
    },
    {
      "type": "modify",
      "old_id": "5e641999e49d51f10e4f72c2945745abd31a2e05",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/test/java/com/google/gerrit/server/project/RefControlTest.java",
      "new_id": "5478a6c9fe2b302b49835d3d29eed897c8eb1a3d",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/test/java/com/google/gerrit/server/project/RefControlTest.java"
    }
  ]
}
