Skip to content

Fix GRANT ALL statement when executed on a non-global level#13987

Merged
alexey-milovidov merged 4 commits intoClickHouse:masterfrom
vitlibar:fix-grant-all-on-table
Sep 2, 2020
Merged

Fix GRANT ALL statement when executed on a non-global level#13987
alexey-milovidov merged 4 commits intoClickHouse:masterfrom
vitlibar:fix-grant-all-on-table

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:
Fix GRANT ALL statement when executed on a non-global level.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Aug 23, 2020
("SOURCES",("*.*",), False, Requirements(RQ_SRS_006_RBAC_Grant_Privilege_Sources("1.0"))),
("ALL",("*.*",), True, Requirements(RQ_SRS_006_RBAC_Grant_Privilege_All("1.0"))),
("ALL PRIVILEGES",("*.*",), True, Requirements(RQ_SRS_006_RBAC_Grant_Privilege_All("1.0"))), #alias for all
@Examples("privilege on allow_column allow_introspection", [
Copy link
Member Author

Choose a reason for hiding this comment

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

@vzakaznikov I've changed this test a bit, could you check please that everything's ok?

Copy link
Member

Choose a reason for hiding this comment

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

Did not answer, let's assume it's ok.

@alexey-milovidov
Copy link
Member

AST Fuzzer: #13981

@alexey-milovidov alexey-milovidov merged commit bfa5a9e into ClickHouse:master Sep 2, 2020
@alexey-milovidov alexey-milovidov self-assigned this Sep 2, 2020
robot-clickhouse pushed a commit that referenced this pull request Sep 2, 2020
robot-clickhouse pushed a commit that referenced this pull request Sep 2, 2020
vitlibar pushed a commit that referenced this pull request Sep 2, 2020
Backport #13987 to 20.7: Fix GRANT ALL statement when executed on a non-global level
vitlibar pushed a commit that referenced this pull request Sep 2, 2020
Backport #13987 to 20.8: Fix GRANT ALL statement when executed on a non-global level
vitlibar pushed a commit that referenced this pull request Sep 2, 2020
Fix GRANT ALL statement when executed on a non-global level

(cherry picked from commit bfa5a9e)
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.

3 participants