Update permissions object to trigger re-render

Release-Notes: skip
Google-bug-id: b/327016695
Change-Id: I43d918fc0f5872229873d2e3b515409024dec155
(cherry picked from commit d3f797a2465bc58d44da3705ab11aeb7aa5359e9)
diff --git a/polygerrit-ui/app/elements/admin/gr-permission/gr-permission.ts b/polygerrit-ui/app/elements/admin/gr-permission/gr-permission.ts
index 0b49a87..933fc96 100644
--- a/polygerrit-ui/app/elements/admin/gr-permission/gr-permission.ts
+++ b/polygerrit-ui/app/elements/admin/gr-permission/gr-permission.ts
@@ -353,8 +353,16 @@
     if (!this.permission) {
       return;
     }
-    this.permission.value.modified = true;
-    this.permission.value.exclusive = (e.target as HTMLInputElement).checked;
+    // Update entire permission object to trigger a re-render since permission
+    // is marked as @property
+    this.permission = {
+      ...this.permission,
+      value: {
+        ...this.permission.value,
+        modified: true,
+        exclusive: (e.target as HTMLInputElement).checked,
+      },
+    };
     // Allows overall access page to know a change has been made.
     fire(this, 'access-modified', {});
   }