)]}'
{
  "commit": "e42f77645aafd3f1663268ad99c6897a03181795",
  "tree": "a5f9c044d923eaa1188dda68f96b192fdf7bdb5f",
  "parents": [
    "6e8663179f66c9ddfd164ca39d9f5e65d5f12d29"
  ],
  "author": {
    "name": "David Pursehouse",
    "email": "dpursehouse@collab.net",
    "time": "Mon Sep 25 22:00:08 2017 +0900"
  },
  "committer": {
    "name": "David Pursehouse",
    "email": "dpursehouse@collab.net",
    "time": "Tue Oct 03 14:58:23 2017 +0100"
  },
  "message": "DisablePlugin: Explicitly check for capability in apply()\n\nThe class is annotated as @RequiresCapability(ADMINISTRATE_SERVER), but\nit is only effective when invoked by REST.\n\nIf the endpoint is invoked from the internal API, the capability check\nis not done.\n\nReplace the annotation with an explicit capability check in the apply()\nmethod.\n\nAlso add a test for calling the endpoint from the internal API.\n\nChange-Id: Ie109c6a5d291d4ffcf8563e06a25b8073b937b0c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0fa09afb27789cf90f0301a522e8c1bbb93bd113",
      "old_mode": 33188,
      "old_path": "gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/api/plugin/PluginIT.java",
      "new_id": "aa140578f34e134387831508528a5325d28f765e",
      "new_mode": 33188,
      "new_path": "gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/api/plugin/PluginIT.java"
    },
    {
      "type": "modify",
      "old_id": "a2da580246cddb7b0bb593580e2242439c134b95",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/server/plugins/DisablePlugin.java",
      "new_id": "5f1bef80d96668a7e4524abda0081728c74f0f85",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/plugins/DisablePlugin.java"
    }
  ]
}
