users: Add new user 'shiva' as realm moderator.

Note that at this point, it's not possible to create moderator users;
this just will make it easier to write tests for logic involving them
as we develop the feature.
This commit is contained in:
sahil839
2020-12-22 20:16:00 +05:30
committed by Tim Abbott
parent af64ca388a
commit 6b5cf231a1
8 changed files with 17 additions and 9 deletions

View File

@@ -84,7 +84,7 @@ def add_subscriptions(client: Client) -> None:
# {code_example|start}
# To subscribe other users to a stream, you may pass
# the `principals` argument, like so:
user_id = 25
user_id = 26
result = client.add_subscriptions(
streams=[
{"name": "new stream", "description": "New stream for testing"},