-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Grant action should not require and modify the password #236
Comments
It make sense. Will try to write something about it. But unfortunately, will not try to work on the old 1.5.x branch. It will be on 2.x or even 3.x branch. |
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs. |
Closing due to inactivity. If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs. |
Cookbook version
1.5.4
Chef-client version
14.10.9
Platform Details
CentOS 7
Scenario:
In general when I create a mysql user, I need the password, but when I grant permissions, it does not need the password, it is a different action. Also from documentation it is not clear if I can do a grant with password assuming the user will be created as well. If grant action modifies the password, why should I specify the password in create action? Why should I specify the password twice according to documentation?
Steps to Reproduce:
Expected Result:
It should only grant permissions. If password is supplied or not for
grant
orrevoke
action, ignore it, don't modify it. This should be simple, I can do a PR.The best solution in my opinion is to split user creation and grant to two different resources, it will make the code cleaner also, but will break everything. Opinions?
Actual Result:
My password is reset to empty.
The text was updated successfully, but these errors were encountered: