kubesphere / console

KubeSphere Console is the web-based UI for KubeSphere clusters.
https://kubesphere.io
Other
588 stars 453 forks source link

fix: role and member users issues in clusters / workspaces / projects #4328

Closed donniean closed 3 weeks ago

donniean commented 3 weeks ago

What type of PR is this?

/kind bug

What this PR does / why we need it

  1. Members in the Cluster / Workspace / Project will call the users API when refreshed.
  2. The "Role" - "Authorized Users" in Cluster / Workspace will invoke the users API.

Which issue(s) this PR fixes

Links https://github.com/kubesphere/kubesphere/issues/6263

Special notes for reviewers

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc

donniean commented 3 weeks ago

/cherry-pick master

ks-ci-bot commented 3 weeks ago

@donniean: once the present PR merges, I will cherry-pick it on top of master in a new PR and assign it to you.

In response to [this](https://github.com/kubesphere/console/pull/4328#issuecomment-2443932670): >/cherry-pick master > > > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
donniean commented 3 weeks ago

/cc @51wangping

ks-ci-bot commented 3 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 51wangping, donniean

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubesphere/console/blob/release-4.1/OWNERS)~~ [donniean] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ks-ci-bot commented 3 weeks ago

LGTM label has been added.

Git tree hash: a5f14bc70b2c44686c3dfa2e42e0b460afe6faee

ks-ci-bot commented 3 weeks ago

@donniean: new pull request created: #4330

In response to [this](https://github.com/kubesphere/console/pull/4328#issuecomment-2443932670): >/cherry-pick master > > > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.