-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backend] action开启环境属性配置 #381
Labels
Layer: Backend
bk-iam backend project
Priority: High
Size: M
<=3 days
Type: Enhancement
New feature or request
Comments
wklken
added
Type: Enhancement
New feature or request
Layer: Backend
bk-iam backend project
Priority: High
Size: M
<=3 days
labels
Nov 15, 2021
注册操作: [
{
"id": "biz_create",
"name": "业务创建",
"name_en": "biz_create",
"description": "业务创建是...",
"description_en": "biz_create is...",
"type": "create",
"related_resource_types": [],
"version": 1
},
{
"id": "host_edit",
"name": "主机编辑",
"name_en": "host_edit",
"type": "",
"related_resource_types": [
{
"system_id": "bk_cmdb",
"id": "host",
"name_alias": "",
"name_alias_en": "",
"selection_mode": "instance",
"related_instance_selections": [
{
"system_id": "bk_cmdb",
"id": "free_host",
"ignore_iam_path": false,
},
{
"system_id": "bk_cmdb",
"id": "biz_topology",
"ignore_iam_path": false,
},
{
"system_id": "bk_cmdb",
"id": "biz_set_topology",
"ignore_iam_path": false,
}
]
}
],
"related_actions": ["view", "delete"],
"version": 1
}
] |
relatedto #232 需要支持:
目前的设计, 时间是权限中心默认算(消化), 其他需要接入系统鉴权的时候传入 |
协议[
{
"id": "biz_create",
"name": "业务创建",
"name_en": "biz_create",
"description": "业务创建是...",
"description_en": "biz_create is...",
"type": "create",
"related_resource_types": [],
"related_environments": [
{
"type": "current_time", => 数据 单值/两个值
"operator": "lte/gte/between" // 必填, 三选一
},
{
"type": "source_ip", => 数据 list
"operator": "ip_match" // 不需要填, 默认值
},
{
"type": "source_system" => 数据 list
"operator": "in" // 不需要填, 默认值
},
{
"type": "is_secure_transport" => 数据 bool
"operator": "eq" // 不需要填, 默认值
}
],
"version": 1
}
] |
move to #391 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Layer: Backend
bk-iam backend project
Priority: High
Size: M
<=3 days
Type: Enhancement
New feature or request
The text was updated successfully, but these errors were encountered: