更新时间:2022-08-08 GMT+08:00
查询授权
功能介绍
查询当前用户拥有的所有Label/属性权限。
URI
- URI 格式
GET /ges/v1.0/{project_id}/graphs/{graph_name}/rbac - 参数说明
表1 URI参数说明 参数
是否必选
类型
说明
project_id
是
String
项目编号,用于资源隔离。请参考获取项目ID。
graph_name
是
String
图名称。
请求
- 请求样例
GET http://{SERVER_URL}/ges/v1.0/{project_id}/graphs/{graph_name}/rbac
响应
{
"data": {
"acl": [
{
"detail": [],
"type": "traverse"
},
{
"detail": [
{
"label": "movie",
"properties": [
"movieid",
"title"
]
},
{
"label": "user",
"properties": [
"gender",
"age",
"userid"
]
}
],
"type": "read"
},
{
"detail": [],
"type": "write"
}
]
}
}
父主题: 细粒度权限控制API
