Skip to content

Fix partial revokes#12002

Merged
vitlibar merged 1 commit intoClickHouse:masterfrom
vitlibar:fix-partial-revokes
Jul 1, 2020
Merged

Fix partial revokes#12002
vitlibar merged 1 commit intoClickHouse:masterfrom
vitlibar:fix-partial-revokes

Conversation

@vitlibar
Copy link
Member

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category:

  • Bug Fix

Changelog entry:
Partial revokes work correctly in complex cases as well, for example

GRANT SELECT ON *.* TO user1;
REVOKE SELECT ON db1.* FROM user1;
GRANT SELECT ON db1.table1 TO user1;
REVOKE SELECT(col1) ON db1.table1 FROM user1;

@vitlibar vitlibar changed the title Fix partial revokes (complex cases). Fix partial revokes Jun 27, 2020
@blinkov blinkov added the pr-bugfix Pull request with bugfix, not backported by default label Jun 27, 2020
@vitlibar vitlibar force-pushed the fix-partial-revokes branch 3 times, most recently from a995af6 to 4416ffd Compare June 27, 2020 23:44
@alexey-milovidov
Copy link
Member

Integration tests

Broken in #11903

@vitlibar vitlibar marked this pull request as draft June 28, 2020 21:19
@vitlibar vitlibar force-pushed the fix-partial-revokes branch from 4416ffd to c39eb8f Compare June 30, 2020 15:47
@vitlibar vitlibar marked this pull request as ready for review June 30, 2020 15:47
@vitlibar vitlibar merged commit 811d124 into ClickHouse:master Jul 1, 2020
@vitlibar vitlibar deleted the fix-partial-revokes branch July 1, 2020 14:15
vitlibar pushed a commit that referenced this pull request Aug 5, 2020
Fix partial revokes

(cherry picked from commit 811d124)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants