提交 7338b812 编写于 作者: W wanjunlei

Delete modification of permission and submit as a pr separately

上级 9a02d770
......@@ -702,9 +702,10 @@ func (t *tenantOperator) Auditing(user user.Info, queryParam *auditingv1alpha1.Q
listEvts := authorizer.AttributesRecord{
User: user,
Verb: "list",
APIGroup: "",
APIVersion: "v1",
Resource: "namespaces",
ResourceRequest: true,
ResourceScope: request.ClusterScope,
}
decision, _, err := t.authorizer.Authorize(listEvts)
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册