)]}'
{
  "commit": "23a27f940cd523d353114e35a69a84864c26543f",
  "tree": "2e190f64a38f9a4c1edd103d84cafc7700e864ad",
  "parents": [
    "1bd438dfb1d3f91bb0020b6ba17dec486afaba71"
  ],
  "author": {
    "name": "Nasser Grainawi",
    "email": "nasser.grainawi@oss.qualcomm.com",
    "time": "Fri Nov 06 16:39:23 2026 -0800"
  },
  "committer": {
    "name": "Nasser Grainawi",
    "email": "nasser.grainawi@oss.qualcomm.com",
    "time": "Fri Nov 20 14:10:03 2026 -0800"
  },
  "message": "Reload global IP policy with gerrit reload-config\n\nFilesystem polling applies global IP policy edits on a later permission\ncheck, rather than at an explicit administrator-controlled reload. Use\nGerrit\u0027s existing reload-config command to apply policy changes without\nrequiring a restart or a change to gerrit.config.\n\nLoad GlobalIpPolicyProvider eagerly at startup and register it as a\nGerritConfigListener, including for unchanged-config events. Permission\nchecks read a volatile in-memory snapshot without filesystem polling or\nrefresh locks. File edits take effect only after a reload on each\nserver.\n\nRetain the current policy and log an error if a reload cannot read or\nparse the file, including deletion of a previously present file. This\nprevents a failed reload from discarding active restrictions. Clear\nrules explicitly by reloading an empty file. A never-present file stays\noptional; startup load errors still follow\nfailClosedOnGlobalPolicyError, and a successful reload can recover from\nan invalid startup policy.\n\nAdd unit and daemon acceptance coverage for explicit reloads, unchanged\nconfig, HTTP/SSH visibility, failed-reload retention and recovery, and\nadmin-only command access. Document per-server reloads and policy-only\ncommand output, and update mode acceptance tests to reload instead of\npoll.\n\nChange-Id: I7f227a8eb50460119ad3f4487642aa84e37b8f5a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5db2d8c7cacda58f21657debd3df0a9da926e2cf",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/modules/access/ipsubnet/GlobalIpPolicyProvider.java",
      "new_id": "29d2bd35568a6376147dd7667f5b1c5dc4022c98",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/modules/access/ipsubnet/GlobalIpPolicyProvider.java"
    },
    {
      "type": "modify",
      "old_id": "9629ebf8b492267d7f842b6276e3e363fd3eb240",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/modules/access/ipsubnet/IpSubnetAccessModule.java",
      "new_id": "22fb2d4c0729b55a4b7bc242facd8d307c2178ee",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/modules/access/ipsubnet/IpSubnetAccessModule.java"
    },
    {
      "type": "modify",
      "old_id": "93446af00316cb4c38c0280a0b6ea7bd3cd591ed",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/about.md",
      "new_id": "bd13cadfc684666263b7d381b72028d8e094d8cd",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/about.md"
    },
    {
      "type": "modify",
      "old_id": "3dc47850c00218b0f1f30645f5e5b277746474da",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "4614031c5c33b9fd6f64f2c4faca13da7083872c",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    },
    {
      "type": "modify",
      "old_id": "a20a0ca19f398d8bde99ce16c208f0043c1e7cb6",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/modules/access/ipsubnet/GlobalIpPolicyProviderTest.java",
      "new_id": "ead1c5e7fe530b8281de556dacbec1ba870e9986",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/modules/access/ipsubnet/GlobalIpPolicyProviderTest.java"
    },
    {
      "type": "modify",
      "old_id": "b7bbc91f2b02ab68ce7263f8eb6a11540d76ae46",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/modules/access/ipsubnet/IpSubnetGlobalModeIT.java",
      "new_id": "2b98db92431c5f970a5e2b33a9fa2dbde1cb34ae",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/modules/access/ipsubnet/IpSubnetGlobalModeIT.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e102f895f4a60d791e3e8d546dfeb4eac9a358ef",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/modules/access/ipsubnet/IpSubnetGlobalPolicyReloadIT.java"
    },
    {
      "type": "modify",
      "old_id": "1447effab382bc365184fc331076424d5c499aa8",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/modules/access/ipsubnet/IpSubnetPermissionBackendTest.java",
      "new_id": "b0ec92bed1fc489f787e449d8aee6b09232337dc",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/modules/access/ipsubnet/IpSubnetPermissionBackendTest.java"
    }
  ]
}
