)]}'
{
  "commit": "2f2b3a74dea2439d04af2f31fb891c438be5793a",
  "tree": "5f4451ebd49515ee97adc59739712cab420bcbf2",
  "parents": [
    "98122e892326f43850eea32a890a45fa8ce0fe4d"
  ],
  "author": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Mon Jan 23 16:05:49 2023 +0100"
  },
  "committer": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Mon Jan 23 16:07:00 2023 +0100"
  },
  "message": "Improve error message when rebase is not permitted\n\nIn order to rebase a change the calling user must either (see\nChangeControl#canRebase()):\n* be the change owner and have the push permission\n* have the submit and the push permission\n* have the rebase and the push permission\n\nIf a user cannot rebase, include a hint into the error message informing\nabout the conditions that need to be fulfilled for a user to be able to\nrebase (see above).\n\nBefore this change the error message was:\n\n  rebase not permitted\n\nwith this change it is now:\n\n  rebase not permitted (change owners and users with the \u0027Submit\u0027 or\n  \u0027Rebase\u0027 permission can rebase if they have the \u0027Push\u0027 permission)\n\nThis makes it easier for user to understand why rebase is not permitted.\n\nRelease-Notes: skip\nSigned-off-by: Edwin Kempin \u003cekempin@google.com\u003e\nChange-Id: I10acea32d20063bdafc859cb203757f8e9728a45\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6f7d761006cd6b0d52cb744dcb4a9d4f86c8e88c",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/permissions/ChangeControl.java",
      "new_id": "e36ce7bcaa93cd8a37fa6452d0ba6f70173c40b5",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/permissions/ChangeControl.java"
    },
    {
      "type": "modify",
      "old_id": "63b03787b2deb293d3ab96576eaa534d49e5ba46",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/permissions/ChangePermission.java",
      "new_id": "6ceed3eeae5a3206a561d3b075f70a57b15392fe",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/permissions/ChangePermission.java"
    },
    {
      "type": "modify",
      "old_id": "f59ba0240fdf39b348c34c987a4b9f04d847a655",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/permissions/ChangePermissionOrLabel.java",
      "new_id": "9254158036b163407aa48f4c753dfb79df8522a4",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/permissions/ChangePermissionOrLabel.java"
    },
    {
      "type": "modify",
      "old_id": "74bd94e39dc14d9adb6ed2c8322ca87df7821944",
      "old_mode": 33188,
      "old_path": "javatests/com/google/gerrit/acceptance/api/change/RebaseIT.java",
      "new_id": "522013e213bd2faaa192b85e34e9c17bf8cce6a2",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/acceptance/api/change/RebaseIT.java"
    }
  ]
}
