-
Notifications
You must be signed in to change notification settings - Fork 136
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
feat: cam permission boundary #2177
Conversation
|
||
const testAccCamUserPermissionBoundary = ` | ||
|
||
resource "tencentcloud_cam_user_permission_boundary_attachment" "user_permission_boundary" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
解除绑定的e2e增加一个?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e2e 的流程已经包括了解绑,测试框架在测试过程中会自动执行delete,也就是解绑。
} | ||
targetUin := idSplit[0] | ||
|
||
if err := service.DeleteCamUserPermissionBoundaryById(ctx, targetUin); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉这个是把当前用户的所用的Policy都删除了,不应该是只解绑其中某个Policy吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
边界权限只有一个
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* feat: cam permission boundary * feat: changelog --------- Co-authored-by: WeiMengXS <[email protected]>
add resource cam permission boundary