Skip to content

Added support of GRANTS with per column privileges to MYSQL module#55980

Merged
dwoz merged 6 commits into
saltstack:masterfrom
sizgiyaev:mysql_grant_by_column
Jul 29, 2020
Merged

Added support of GRANTS with per column privileges to MYSQL module#55980
dwoz merged 6 commits into
saltstack:masterfrom
sizgiyaev:mysql_grant_by_column

Conversation

@sizgiyaev

Copy link
Copy Markdown
Contributor

What does this PR do?

The current MYSQL module can't handle grants with per column defined privileges:
More info: https://dev.mysql.com/doc/refman/8.0/en/grant.html#grant-column-privileges

Previous Behavior

Works: GRANT SELECT ON database.table TO user@host
Doesn't work: GRANT SELECT(column1, column2) ON database.table TO user@host

New Behavior

Works: GRANT SELECT ON database.table TO user@host
Works: GRANT SELECT(column1, column2) ON database.table TO user@host

Tests written?

Yes

Commits signed with GPG?

No

The PR is to master branch due to request of @dwoz in previous PR #55946

@sizgiyaev sizgiyaev requested a review from a team as a code owner January 26, 2020 08:34
@ghost ghost requested a review from garethgreenaway January 26, 2020 08:34
@Akm0d Akm0d added bug broken, incorrect, or confusing behavior P4 Priority 4 labels Jan 27, 2020
@Akm0d Akm0d added this to the Approved milestone Jan 27, 2020
@sizgiyaev

Copy link
Copy Markdown
Contributor Author

re-run full debian9-py2

@sizgiyaev

Copy link
Copy Markdown
Contributor Author

re-run full ubuntu1604-py2-m2crypto

@Ch3LL Ch3LL removed the request for review from a team April 15, 2020 14:27
@sagetherage

Copy link
Copy Markdown
Contributor

@sizgiyaev can you address the merge conflict, please?

@sagetherage sagetherage added the ZRelease-Sodium retired label label May 12, 2020
@garethgreenaway

Copy link
Copy Markdown
Contributor

Merge conflict fixed.

@sagetherage sagetherage added Magnesium Mg release after Na prior to Al and removed ZRelease-Sodium retired label labels May 26, 2020
@sagetherage sagetherage removed the P4 Priority 4 label Jun 3, 2020
@dwoz dwoz merged commit d5aff38 into saltstack:master Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug broken, incorrect, or confusing behavior Magnesium Mg release after Na prior to Al

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants