mirror of https://github.com/zulip/zulip.git
zerver: Require permissions be acceptable to do_change_is_admin.
This commit is contained in:
parent
ba9668470c
commit
4bdc8332fa
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue