Add a management command for invalidating tokens

Review Request #12481 — Created July 21, 2022 and submitted — Latest diff uploaded

Information

Review Board
release-5.0.x

Reviewers

This change adds an rb-site manage /path/to/site invalidate-api-tokens command
that allows administrators to invalidate the API tokens for a set of users. Now
tokens can be invalidated individually via the API, or in batch with this
command.

Manually tested the command and checked that the right tokens were
being invalidated.

Commits

Files