Skip to content

Fix/Grant update failed: not allowed to create a user with grant#129

Closed
alereca wants to merge 4 commits into
crossplane-contrib:masterfrom
Avature:fix/not-allowed-to-create-a-user-with-grant
Closed

Fix/Grant update failed: not allowed to create a user with grant#129
alereca wants to merge 4 commits into
crossplane-contrib:masterfrom
Avature:fix/not-allowed-to-create-a-user-with-grant

Conversation

@alereca

@alereca alereca commented Feb 14, 2023

Copy link
Copy Markdown
Contributor

Description of your changes

Fixes #127

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

  • Manually, by creating grants for users with host=localhost and then checking if the resource reconciliation was successful.
    • Also checked in dbs whether grants were applied
  • Wondering if I should update ./cluster/local/integration_tests.sh to test this scenario, since unit tests do not seem to be a good fit for this

Signed-off-by: Alejandro Recalde <alejandro.recalde@avature.net>
Signed-off-by: Alejandro Recalde <alejandro.recalde@avature.net>
…st of grant controller code

Signed-off-by: Alejandro Recalde <alejandro.recalde@avature.net>
@Duologic

Duologic commented Aug 9, 2023

Copy link
Copy Markdown
Member

A rebase should re-trigger CI.

sorry for the late responses to your PRs, I had other priorities

@alereca

alereca commented Aug 29, 2023

Copy link
Copy Markdown
Contributor Author

A rebase should re-trigger CI.

sorry for the late responses to your PRs, I had other priorities

No problem, thanks for reviewing them!

I've just merged master to fix the conflicts if you would like to check it and merge it later.

I forgot to sign-off so I had to perform a force push, consequently all checks got blocked again

Signed-off-by: Alejandro Recalde <alejandro.recalde@avature.net>
@alereca alereca force-pushed the fix/not-allowed-to-create-a-user-with-grant branch from eeefd6b to 3d7fdb9 Compare August 29, 2023 20:45
@Duologic

Copy link
Copy Markdown
Member

I was looking at rebasing this but fail to see what's being fixed, for now I only see variable names being changed. I get that there is an inconsistency but don't see an actual bug, so maybe I'm missing something?

@Duologic

Copy link
Copy Markdown
Member

I've made an attempt at incorporating the proposed changes in this PR: #205

@artych artych self-requested a review December 13, 2024 12:09
@Duologic Duologic closed this Dec 13, 2024
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.

(Grant Error) update failed: Error 1410: You are not allowed to create a user with GRANT

3 participants