@@ -42,46 +42,46 @@ The following table explains how to specify the resource in the `client.grantV2(
4242 <td><pre><code class="python language-python"> client.grant_privilege_v2(
4343 role_name="roleA",
4444 privilege="CollectionAdmin",
45- collection_name="\ *",
45+ collection_name="*",
4646 db_name="db1"
4747 )
4848</code ></pre ></td >
49- <td ><p >Input the name of your target database and a wildcard <code >\ * </code > as the collection name.</p ></td >
49+ <td ><p >Input the name of your target database and a wildcard <code >* </code > as the collection name.</p ></td >
5050 </tr >
5151 <tr >
5252 <td rowspan="2"><p><strong>Database</strong></p></td>
5353 <td><p>A specific database</p></td>
5454 <td><pre><code class="python language-python"> client.grant_privilege_v2(
5555 role_name="roleA",
5656 privilege="DatabaseAdmin",
57- collection_name="\ *",
57+ collection_name="*",
5858 db_name="db1"
5959 )
6060</code ></pre ></td >
61- <td ><p >Input the name of your target database and a wildcard <code >\ * </code > as the collection name.</p ></td >
61+ <td ><p >Input the name of your target database and a wildcard <code >* </code > as the collection name.</p ></td >
6262 </tr >
6363 <tr >
6464 <td><p>All databases under the current instance</p></td>
6565 <td><pre><code class="python language-python"> client.grant_privilege_v2(
6666 role_name="roleA",
6767 privilege="DatabaseAdmin",
68- collection_name="\ *",
69- db_name="\ *"
68+ collection_name="*",
69+ db_name="*"
7070 )
7171</code ></pre ></td >
72- <td ><p >Input <code >\ * </code > as the database name and <code >\ * </code > as the collection name.</p ></td >
72+ <td ><p >Input <code >* </code > as the database name and <code >* </code > as the collection name.</p ></td >
7373 </tr >
7474 <tr >
7575 <td><p><strong>Instance</strong></p></td>
7676 <td><p>The current instance</p></td>
7777 <td><pre><code class="python language-python"> client.grant_privilege_v2(
7878 role_name="roleA",
7979 privilege="ClusterAdmin",
80- collection_name="\ *",
81- db_name="\ *"
80+ collection_name="*",
81+ db_name="*"
8282 )
8383</code ></pre ></td >
84- <td ><p >Input <code >\ * </code > as the database name and <code >\ * </code > as the collection name.</p ></td >
84+ <td ><p >Input <code >* </code > as the database name and <code >* </code > as the collection name.</p ></td >
8585 </tr >
8686</table >
8787
0 commit comments