)]}'
{
  "commit": "9fc782edb8526cea28b2e258206e3f15b41ad636",
  "tree": "d8b149d9b7d52944e477d65487618f11862fa40d",
  "parents": [
    "35da29123dfa041ea719a17f1cea3615c198eb8b"
  ],
  "author": {
    "name": "Felipe Monteiro",
    "email": "felipe.monteiro@att.com",
    "time": "Wed Feb 01 15:38:46 2017 -0500"
  },
  "committer": {
    "name": "Felipe Monteiro",
    "email": "felipe.monteiro@att.com",
    "time": "Wed Feb 01 16:52:18 2017 -0500"
  },
  "message": "Fixes policy rules in neutron containing the keyword tenant_id.\n\nThe owner policy in neutron\u0027s policy.json is \"tenant_id:%(tenant_id)s\".\nCurrently, the rbac_role_converter does not populate the target dict,\nresponsible for providing oslo policy with as much information\nabout the target or user performing an action as possible, with\nthe key \u0027tenant_id\u0027. Consequently, the rules containing the format\noutlined above fail.\n\nThis patch adds \u0027tenant_id\u0027 as well as \u0027network:tenant_id\u0027 to the\ntarget dict, in order to work with neutron\u0027s policy.json.\n\nChange-Id: Iecf30d714ed0e9ebde2bff6013551accdf250cef\nCloses-Bug: #1661062\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fb0d2feb5d56905055f7212c225bf1a1b0dbb56c",
      "old_mode": 33188,
      "old_path": "patrole_tempest_plugin/rbac_role_converter.py",
      "new_id": "bc6e006d47f72fb6a635f8d9e8d4adbf5b3b31ab",
      "new_mode": 33188,
      "new_path": "patrole_tempest_plugin/rbac_role_converter.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2647e4dc367087dde3c9a9e9d1406e57a5e9f83e",
      "new_mode": 33188,
      "new_path": "tests/resources/tenant_rbac_policy.json"
    },
    {
      "type": "modify",
      "old_id": "f3a97ab1ff290ed94f874bd7662fa47ef350463e",
      "old_mode": 33188,
      "old_path": "tests/test_rbac_role_converter.py",
      "new_id": "09fa081b1949d2e74fab5ebb911bfd267f47718a",
      "new_mode": 33188,
      "new_path": "tests/test_rbac_role_converter.py"
    }
  ]
}
