mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
users: Return true for admins for is_moderator.
This change is for consistency with how is_admin works. API design discussion at https://chat.zulip.org/#narrow/channel/378-api-design/topic/Should.20is_moderator.20have.20admins
This commit is contained in:
committed by
Tim Abbott
parent
50fbaa4da6
commit
b8ba174455
@@ -36,7 +36,8 @@ by the [events API](/api/get-events).
|
||||
|
||||
Note that [`POST /register`](/api/register-queue) also returns an
|
||||
`is_moderator` boolean property specifying whether the current user is
|
||||
an organization moderator.
|
||||
at least an organization moderator. The property will be true for admins
|
||||
and owners too.
|
||||
|
||||
Additionally, user account data include an `is_billing_admin` property
|
||||
specifying whether the user is a billing administrator for the Zulip
|
||||
|
||||
Reference in New Issue
Block a user