Use lower-level SetInactiveFlag to disable account

Rely on the Gerrit lower-level interface to disable accounts
so that users can be allowed to self-disable themselves.

Access to self-removal is however protected by a new permission
provided by this plugin. Skipping thus the self-disabling
check in Gerrit is considered safe in this case.

Change-Id: Id0b49348d3e745ba993e2583baad03af7aebc6ed
1 file changed
tree: 0cb73803683cf001dee787af9d8f91a1b0374b91
  1. src/
  2. tools/
  3. .gitignore
  4. BUILD
  5. external_plugin_deps.bzl
  6. LICENSE
  7. README.md
README.md

Account management plugin for Gerrit Code Review

A plugin that allows accounts to be deleted from Gerrit via an SSH command or REST API.

How to build

To build this plugin you need to have Bazel and Gerrit source tree. See the detailed instructions on how to build it.

Commands

This plugin adds an new SSH command and a REST API for removing accounts from Gerrit.