Skip to content

Fix regression issue failed to login due to forbidden error

Created by: wansir

Signed-off-by: hongming talonwan@yunify.com

fix: https://github.com/kubesphere/kubesphere/issues/4061

User change password after the first-time login will encounter the following problem:

Login failed due to forbidden error: user.iam.kubesphere.io "" is forbidden: User "" cannot patch resource "users" in API group "iam.kubesphere.io" at the cluster scope.

合并请求报告