Merge pull request #56433 from DarkWanderer/updated-examples

Added GRANT examples to user.xml/yml
This commit is contained in:
jsc0218 2023-11-08 09:53:30 -05:00 committed by GitHub
commit 52cc334788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -86,6 +86,13 @@
<!-- User can create other users and grant rights to them. -->
<!-- <access_management>1</access_management> -->
<!-- User permissions can be granted here -->
<!--
<grants>
<query>GRANT ALL ON *.*</query>
</grants>
-->
</default>
</users>

View File

@ -91,6 +91,10 @@ users:
# User can create other users and grant rights to them.
# access_management: 1
# SQL expressions for grants available for that user - https://clickhouse.com/docs/en/sql-reference/statements/grant
# grants:
# - query: GRANT ALL ON *.*
# Quotas.
quotas:
# Name of quota.