Skip to content

Commit f17b6d8

Browse files
add getUsersOfVol
Signed-off-by: zhangxiangping <[email protected]>
1 parent 26ad16c commit f17b6d8

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Diff for: docs/source/admin-api/master/user.rst

+15-1
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,18 @@ ChubaoFS将卷的 **Owner** 字段看作一个用户ID。例如,创建卷时Ow
174174
"volume", "string", "待转交权限的卷名", "是"
175175
"user_src", "string", "该卷原来的所有者,必须与卷的Owner字段原取值相同", "是"
176176
"user_dst", "string", "转交权限后的目标用户ID", "是"
177-
"force", "bool", "是否强制转交卷。如果该值设为true,即使user_src的取值与卷的Owner取值不等,也会将卷变更至目标用户名下", "否"
177+
"force", "bool", "是否强制转交卷。如果该值设为true,即使user_src的取值与卷的Owner取值不等,也会将卷变更至目标用户名下", "否"
178+
179+
查询具有该卷权限的用户
180+
-----------------------
181+
182+
.. code-block:: bash
183+
184+
curl -v "http://10.196.59.198:17010/vol/users?name=vol" | python -m json.tool
185+
186+
查询具有该卷权限的所有用户。
187+
188+
.. csv-table:: body参数列表
189+
:header: "参数", "类型", "描述", "是否必需"
190+
191+
"name", "string", "卷名称", "是"

0 commit comments

Comments
 (0)