Skip to content

Commit 0b5b3cb

Browse files
rozzabehackett
authored andcommitted
Added versionchanged docs to add_user
1 parent ef67b40 commit 0b5b3cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pymongo/database.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,9 @@ def add_user(self, name, password, read_only=False):
549549
- `password`: the password of the user to create
550550
- `read_only` (optional): if ``True`` it will make user read only
551551
552+
.. versionchanged:: 2.1.1+
553+
Added support for read only users
554+
552555
.. versionadded:: 1.4
553556
"""
554557
pwd = helpers._password_digest(name, password)

0 commit comments

Comments
 (0)