generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 101
mysql_user, mysql_role: add argument subtract_privs to revoke privileges explicitly #333
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
Merged
Andersson007
merged 16 commits into
ansible-collections:main
from
betanummeric:issue-331
May 9, 2022
Merged
Changes from 9 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
3dc2121
add option subtract_privs to mysql_role and mysql_user
fhamme aa0c779
add integration tests for subtract_privs for mysql_role and mysql_user
fhamme 47b2ba5
add changelog fragment for PR #333
fhamme 52eb368
mysql_role, mysql_user: when subtract_privileges, don't grant unwante…
fhamme 501dd7d
fix integration tests
fhamme ea48464
mysql_role, mysql_user: invalid privileges are ignored when subtract_…
fhamme 5df57fc
fix mysql_role integration tests
fhamme 7068331
fix mysql_role, mysql_user integration tests
fhamme de70cf7
formatting
fhamme 29885d1
mysql_user and mysql_role: fix granting privileges when only the GRAN…
fhamme 37fa66a
mysql_user and mysql_role: log some updated privileges; explain integ…
fhamme da9e179
mysql_user and mysql_role: don't grant too much privileges
fhamme 8f20adb
mysql_user and mysql_role: fix type error
fhamme 5e190e8
Update changelogs/fragments/333-mysql_user-mysql_role-add-subtract_pr…
betanummeric d2b6b06
Update plugins/modules/mysql_role.py
betanummeric 517c67b
Update plugins/modules/mysql_user.py
betanummeric File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
changelogs/fragments/333-mysql_user-mysql_role-add-subtract_privileges-argument.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| minor_changes: | ||
| - "mysql_user and mysql_role: Add the argument ``subtract_privs`` (boolean, default false, mutually exclusive with ``append_privs``). If set, the privileges given in ``priv`` are revoked and existing privileges are kept. (https://github.com/ansible-collections/community.mysql/pull/333)" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,3 +14,4 @@ nonexistent: user3 | |
|
|
||
| role0: role0 | ||
| role1: role1 | ||
| role2: role2 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.