commit | 809bbb175f39a4c9767735ba92188f174a339c36 | [log] [tgz] |
---|---|---|
author | Gavin Mak <gavinmak@google.com> | Mon Nov 23 21:37:36 2020 |
committer | Gavin Mak <gavinmak@google.com> | Tue Nov 24 01:30:17 2020 |
tree | 3543ba3aac93bfacf4ea29eb2944443bdb7539f5 | |
parent | d5feac3955fd9e7053049d0cfc2e1e853b753058 [diff] |
Add committer warner When uploading to gerrit, a CL's author may be different from its committer. In theory, a bad actor could create and submit a CL under an identity similar to the author. This change adds a warning under an unsubmitted change's metadata if the author is not the committer. Bug: 1152211 Change-Id: I9e8fff3eced0ced7eac1324a1671b2f7c9ed3003
$ npm wct-test
Make sure the plugin is installed in plugins/ of Gerrit repository.
$ cd ../.. # Gerrit root directory $ bazel build plugins/chromium-behavior:chromium-behavior $ cp -f bazel-bin/plugins/chromium-behavior/chromium-behavior-bundle.js plugins/ $ cd plugins/chromium-behavior $ run-with-prod-data.sh