mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
zerver: Require permissions be acceptable to do_change_is_admin.
This commit is contained in:
committed by
Tim Abbott
parent
ba9668470c
commit
4bdc8332fa
@@ -28,6 +28,7 @@ ONLY perform this on customer request from an authorized person.
|
|||||||
dest='permission',
|
dest='permission',
|
||||||
action="store",
|
action="store",
|
||||||
default='administer',
|
default='administer',
|
||||||
|
choices=['administer', 'api_super_user', ],
|
||||||
help='Permission to grant/remove.')
|
help='Permission to grant/remove.')
|
||||||
parser.add_argument('email', metavar='<email>', type=str,
|
parser.add_argument('email', metavar='<email>', type=str,
|
||||||
help="email of user to knight")
|
help="email of user to knight")
|
||||||
|
|||||||
Reference in New Issue
Block a user