Retrieves the whitelist of row-level or column-level permissions for a dataset based on the specified permission type.
Operation description
: This operation supports only the new row and column permission model of Quick BI. If you are still using the legacy row and column permissions, migrate to the new model before calling this operation. To migrate to the new row and column permission model: In Organization Management > Security Configuration > Row and Column Permission Upgrade, click One-Click Upgrade to upgrade to the new row-level permissions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:ListDataLevelPermissionWhiteList |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CubeId |
string |
Yes |
The dataset ID. |
3d5db23c-e4f2-49dd-a883-92285b48e14a |
| RuleType |
string |
Yes |
The type of row and column permission to which the whitelist belongs. Valid values:
|
ROW_LEVEL |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D8749D65-E80A-433C-AF1B-CE9C180FF3B4 |
| Result |
object |
The whitelist of the specified row-level or column-level permission type. |
|
| CubeId |
string |
The dataset ID. |
7c7223ae-****-3c744528014b |
| RuleType |
string |
The type of row and column permission for the dataset. Valid values:
|
ROW_LEVEL |
| UsersModel |
object |
The whitelist information. |
|
| UserGroups |
array |
The list of user group IDs. |
["0d5fb19b-***-1248fc27ca51"] |
|
string |
The user group ID. |
0d5fb19b-***-1248fc27ca51 |
|
| Users |
array |
The list of Quick BI user IDs. |
["4334***358"] |
|
string |
The Quick BI user ID. |
4334***358 |
|
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "D8749D65-E80A-433C-AF1B-CE9C180FF3B4",
"Result": {
"CubeId": "7c7223ae-****-3c744528014b",
"RuleType": "ROW_LEVEL",
"UsersModel": {
"UserGroups": [
"0d5fb19b-***-1248fc27ca51"
],
"Users": [
"4334***358"
]
}
},
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Cube.Not.Exist | The Cube does not exist. | The Cube does not exist. |
| 400 | CubePermission.Columnlevel.VersionError | You are not allowed to use the new dataLevelPermission API. | You are not allowed to use new dataLevelPermission api. |
| 400 | RowLevelPermission.SwitchClose.Error | The row level permission switch must be on. | Row lever permission switch must be open. |
| 400 | RowLevelPermission.Rule.NotExsist | The row level permission rule does not exist: %s. | The row level permission rule does not exist: %s. |
| 400 | RowLevelPermission.Rule.NotBelongToCube | The row level permission rule does not belong to the current cube. | The row level permission rule does not belong to the current cube. |
| 400 | Cube.NotBelongTo.CurrentOrganization | The cube does not belong to the current organization %s. | Cube do not belong to current organization:%s. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.