Skip to content
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

Fix: Username length in projects users to match users #904

Merged
merged 3 commits into from
Jul 4, 2024

Conversation

oanasc
Copy link
Contributor

@oanasc oanasc commented Jul 4, 2024

Description of your changes

  1. "Fixes SSO user default project not getting set #903": SSO user default project not getting set because the username vela_user.name doesn't have the same length as the username FK in vela_project_user
    This means users logging in have no permissions whatsoever unless someone manually adds it.

  2. The e2e tests were failing due to k3s version 1.21 not being available. I've removed the version from the matrix

I have:

  • Read and followed KubeVela's contribution process.
  • Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
  • Run yarn lint to ensure the frontend changes are ready for review.
  • Run make reviewableto ensure the server changes are ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

Special notes for your reviewer

@oanasc oanasc changed the title Username length in projects users to match users Fix: Username length in projects users to match users Jul 4, 2024
@oanasc oanasc marked this pull request as draft July 4, 2024 10:25
@oanasc oanasc marked this pull request as ready for review July 4, 2024 12:21
@oanasc oanasc requested a review from wonderflow as a code owner July 4, 2024 12:26
oanasc added 3 commits July 4, 2024 13:45
Signed-off-by: Oana Schipor <oana.schipor@vortexa.com>
Signed-off-by: Oana Schipor <oana.schipor@vortexa.com>
Signed-off-by: Oana Schipor <oana.schipor@vortexa.com>
@oanasc
Copy link
Contributor Author

oanasc commented Jul 4, 2024

The e2e tests checks for 1.21 are might need to be removed by a maintainer. Don't know if the matrix should include later versions of Kubernetes, i've just removed 1.21 because is not on the list of versions available for k3s anymore.

@oanasc
Copy link
Contributor Author

oanasc commented Jul 4, 2024

Thank you both @FogDong and @anoop2811. Would need some help with these statuses especially 1.21 to be removed
image

@anoop2811 anoop2811 merged commit 73334e7 into kubevela:main Jul 4, 2024
12 checks passed
@oanasc oanasc deleted the issue903 branch July 4, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSO user default project not getting set
3 participants