Skip to content

Commit 9e46be7

Browse files
committed
fix method db.grantRolesToUser() malformed definitions, breaking all links, and fix malformed link
1 parent 6168cb1 commit 9e46be7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/reference/method/db.grantRolesToUser.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ db.grantRolesToUser()
1313
Definition
1414
----------
1515

16-
.. method:: db.grantRolesToUser ( username, roles, writeConcern )
16+
.. method:: db.grantRolesToUser(username, roles, writeConcern)
1717

1818
Grants additional roles to a user.
1919

@@ -99,7 +99,7 @@ roles:
9999
}
100100
]
101101

102-
The following :method:`grantRolesToUser()` operation gives ``accountUser01``
102+
The following :method:`db.grantRolesToUser()` operation gives ``accountUser01``
103103
the :authrole:`readWrite` role on the ``products`` database and the
104104
:authrole:`read` role on the ``stock`` database.
105105

0 commit comments

Comments
 (0)