zerver: Require permissions be acceptable to do_change_is_admin.

This commit is contained in:
Baron Chandler 2018-05-15 16:07:33 +00:00 committed by Tim Abbott
parent ba9668470c
commit 4bdc8332fa
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ ONLY perform this on customer request from an authorized person.
dest='permission',
action="store",
default='administer',
choices=['administer', 'api_super_user', ],
help='Permission to grant/remove.')
parser.add_argument('email', metavar='<email>', type=str,
help="email of user to knight")