core.rbac.granted.patterns
获取指定用户在特定权限和资源类型下的授权模式列表
- 请求路由:
core.rbac.granted.patterns- 交互模型:
Request Response- 访问限制: 无
请 求
RSocket.rr({
"route" : "core.rbac.granted.patterns",
"args" : {
"username" : "user1@aspiretop",
"permission" : "ft",
"resourceType" : "api"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
username | String | 是 | 请求帐户 |
permission | String | 是 | 授权类型 |
resourceType | String | 是 | 资源类型 |
返回
授权资源模式列表
[
"dicts.region.*",
"roles.create"
]