目录
2.2 策略b:需配置ValidateUserPersonal、ValidateUserPersonal、DescribeImagePersonal权限
1. 创建自定义策略
登录有权限的账号—>策略语法创建——>空白模板



2. 配置策略内容
新增2条策略内容,如下策略a和策略b。
2.1 策略a:指定命名空间hoawen
{
"statement": [
{
"action": [
"tcr:*"
],
"effect": "allow",
"resource": [
"qcs::tcr:::repo/haowen",
"qcs::tcr:::repo/haowen/*"
]
}
],
"version": "2.0"
}

2.2 策略b:需配置ValidateUserPersonal、ValidateUserPersonal、DescribeImagePersonal权限
{
"statement": [
{
"action": [
"tcr:ValidateUserPersonal",
"tcr:DescribeRepositoryFilterPersonal",
"tcr:DescribeImagePersonal"
],
"effect": "Allow",
"resource": [
"*"
]
}
],
"version": "2.0"
}
权限解析:

3. 参考链接
https://cloud.tencent.com/document/product/1141/41409
https://cloud.tencent.com/document/product/598/70035?from=console_document_search
3702

被折叠的 条评论
为什么被折叠?



