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

Correct GRANTS management bugs #236 & #243 #255

Closed

Conversation

sinfomicien
Copy link
Contributor

Description

Correct GRANT management

Issues Resolved

[#236]
[#243]

Check List

@@ -245,15 +245,19 @@ def revokify_key(key)

# Repair
if incorrect_privs
privileges_to_set = new_resource.privileges.map { |key| clean_grant_name(key) }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've not tested my PR against a RDS database, but this one won't work to my mind. In this specific case my PR better handles it by working with desired_privs instead of new_resource.privileges.
see here for more details

@PowerSchill PowerSchill requested a review from a team October 15, 2019 19:32
@xorima
Copy link
Contributor

xorima commented Feb 21, 2020

@sinfomicien I am happy to merge this one if you say it's all good mate, the tests are broken totally at the moment but wanting to get merges in anyway

@xorima xorima added Bug Something isn't working Waiting on Contributor Awaiting on the person who raised this to update labels Feb 21, 2020
@xorima
Copy link
Contributor

xorima commented Mar 11, 2020

Hey @sinfomicien

Do you want me to just merge this one in (Trying to close down all our old PRs mate 👍)

@damacus damacus closed this May 14, 2020
@damacus
Copy link
Member

damacus commented May 14, 2020

Closing due to inactivity.

If this is still an issue please reopen or open another PR.

Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!

Thanks,
Sous-Chefs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Waiting on Contributor Awaiting on the person who raised this to update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants