Obtaining Dataset Permission Configuration Information
Function
This API is used to obtain dataset permission configuration information.
URI
GET /v1/{project_id}/datasets/{dataset_id}/permission-config
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
dataset_id |
Yes |
String |
Dataset ID. |
project_id |
Yes |
String |
Project ID. For how to obtain a project ID, see Obtaining a Project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Workspace-Id |
Yes |
String |
Workspace ID. For how to obtain it, see Obtaining a Workspace ID. |
X-Auth-Token |
Yes |
String |
User token. |
Content-Type |
Yes |
String |
Request body type and character set, which have fixed values. |
Response Parameters
Parameter |
Type |
Description |
---|---|---|
row_permission_config |
object |
Row permission configuration. For details, see Table 4. |
col_permission_config |
object |
Column permission configuration. For details, see Table 5. |
Parameter |
Type |
Description |
---|---|---|
is_open |
Boolean |
Whether to enable row permissions. |
is_open_by_condition |
Boolean |
Whether to enable condition combination authorization. |
others_has_permission_by_condition |
Boolean |
Permissions of other users (not specified in the authorization for combined row conditions). |
is_open_by_tag |
Boolean |
Additional configuration for row and column permissions, indicating whether to enable authorization for combined row conditions. |
Example Request
GET https://{endpoint}/v1/{project_id}/datasets/{dataset_id}/permission-config
Example Response
{ "row_permission_config" : { "is_open" : true, "is_open_by_condition" : true, "others_has_permission_by_condition" : false, "is_open_by_tag" : true }, "col_permission_config" : { "is_open" : true } }
Status Codes
Status Code |
Description |
---|---|
200 |
The dataset permission configuration information is successfully retrieved. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot