Commit Graph

65 Commits

Author SHA1 Message Date
robot-ch-test-poll1
22727423a0
Backport #71332 to 24.10: Fix inconsistent AST formatting when granting wrong wildcard grants (#71393)
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2024-11-06 13:30:03 -05:00
Christoph Wurm
dab614ee4b
Align other sources paragraph 2024-10-04 10:59:28 +01:00
Christoph Wurm
17c124fa71
Update grant.md: Complete list of SOURCES grants
Align with the current list of sources grants in the source code here: af1a0f12aa/src/Access/Common/AccessType.h (L226-L240)
2024-10-04 10:13:35 +01:00
pufit
2b142ca0e5 Merge branch 'master' into pufit/radix-grants
# Conflicts:
#	src/Access/Common/AccessRightsElement.h
#	src/Parsers/Access/ASTGrantQuery.cpp
2024-09-25 12:24:37 -04:00
Linh Giang
4f84c82d6d
Update grant.md to include POSTGRES privilege
Added POSTGRES privilege under the SOURCES category as it seems to be missing.
2024-08-16 11:02:44 -06:00
pufit
953053a7f6 docs, more doc strings 2024-07-19 20:32:37 -04:00
Blargian
d851fa871f Fix broken links in docs 2024-06-12 14:09:37 +02:00
János Benjamin Antal
7aab5855b6 Fix links 2024-05-02 07:00:40 +00:00
jsc0218
b3b46ea708 Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-03-14 00:36:29 +00:00
Kseniia Sumarokova
de7f7e196e
Update docs/en/sql-reference/statements/grant.md 2024-03-07 13:55:22 +08:00
jsc0218
c901c9c1f3 fix typo 2024-03-07 01:47:10 +00:00
jsc0218
0f4cd3198d add version specification 2024-03-07 01:09:18 +00:00
jsc0218
cd2a418afd add named collection grant doc 2024-03-06 02:31:21 +00:00
jsc0218
b4b19ae2ad
Merge branch 'master' into TableEngineGrant_version2 2024-02-28 10:56:30 -05:00
pufit
330a206470
Add definers for views (Attempt 2) (#60439) 2024-02-27 19:00:17 -05:00
Raúl Marín
464b5e0e15
Revert "Add definers for views (#54901)"
This reverts commit 57306706b3.
2024-02-23 12:44:31 +01:00
pufit
57306706b3
Add definers for views (#54901) 2024-02-22 17:47:50 +01:00
jsc0218
afa7a95c8c add backward compatibility 2024-02-20 02:11:31 +00:00
Dan Roscigno
1ded6d6409
Update grant.md 2023-05-19 16:53:26 -04:00
Mike Kot
2d20658885
Merge branch 'master' into feature/show-secrets-option 2023-04-28 20:19:35 +03:00
Mike Kot
f1d0ed367d separate name for format setting 2023-04-28 13:39:38 +00:00
Mike Kot
7bffa89e96 add all 3 settings 2023-04-28 13:22:36 +00:00
Mike Kot
e428af0b63 replace format settings with server setting 2023-04-27 21:27:18 +00:00
Mike Kot
357cde95e9 Merge branch 'master' into feature/show-secrets-option 2023-04-27 20:19:40 +00:00
pufit
1985fb785e
Merge pull request #48262 from ClickHouse/42497-inherit-grant
GRANT CURRENT GRANTS implementation
2023-04-24 11:11:10 -04:00
Robert Schulze
c406663442
Docs: Replace annoying three spaces in enumerations by a single space 2023-04-19 15:56:55 +00:00
pufit
a9fcff72f3 Update docs 2023-04-13 12:57:21 -04:00
pufit
8441b0a3e1 Fix comments, tests, docs 2023-04-04 20:43:15 -04:00
Roman Vasin
cf85915466 Refactor grants logic, create test for grants, update docs 2023-03-06 16:37:41 +00:00
Roman Vasin
237b5b2bfa Update docs 2023-03-06 08:25:39 +00:00
Mike Kot
62acc7a6cf setting and some docs 2023-02-27 13:18:21 +00:00
Ivan Blinkov
61c2f23713 Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00
DanRoscigno
c822c8161f fix nav 2022-11-08 20:21:26 -05:00
DanRoscigno
d225366335 update links 2022-11-08 18:04:22 -05:00
Robert Schulze
e759a64d38
Docs: Redirect links to misc.md
--> https://clickhouse.com/docs/en/sql-reference/statements/misc

This page indexes a bunch of SQL statements but they are easily
reachable by the sidebar already.
2022-10-07 13:22:40 +00:00
DanRoscigno
5b5fcc56aa add slugs 2022-08-28 10:53:34 -04:00
rfraposa
869967de41 Remove H1 anchor tags from docs 2022-06-02 04:55:18 -06:00
Azat Khuzhin
01e1c5345a Add separate CLUSTER grant
In case you have different roles for the same user on multiple clusters,
ON CLUSTER query can help to overcome some limitations.

Consider the following example:
- cluster_with_data, dev_user (readonly=2)
- stage_cluster, dev_user (readonly=0)

So when you will execute the following query from stage_cluster, it will
be successfully executed, since ON CLUSTER queries has different system
profile:

    DROP DATABASE default ON CLUSTER cluster_with_data

This is not 100% safe, but at least something.

Note, that right now only ON CLUSTER query it self is supported, but
separate clusters are not (i.e. GRANT CLUSTER some_cluster_name TO
default), since right now grants sticked to database+.

v2: on_cluster_queries_require_cluster_grant
v3: fix test and process flags as bit mask
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-16 13:57:45 +03:00
rfraposa
8f01fe9c49 Revised /en folder 2022-04-09 07:34:21 -06:00
rfraposa
5250d9ad11 Removed /ja folder, cleaned up /ru markdown 2022-04-09 07:29:05 -06:00
Alexey Milovidov
9854b55835
Revert "Format changes for new docs" 2022-04-04 02:05:35 +03:00
rfraposa
560471f991 Update /sql-reference docs 2022-03-29 22:06:21 -06:00
cmsxbc
58dd1a2d5c
add function addressToLineWithInlines 2022-01-25 19:13:47 +08:00
Denny Crane
035d757cc1
Update grant.md 2021-12-28 14:13:41 -04:00
Alexey
5e1d180d64 reload and grant stub 2021-09-25 19:32:42 +00:00
Alexey
77a1a35a05 Additional links to CREATE and DROP FUNCTION 2021-08-21 12:38:44 +00:00
Caspian
eab4cb3cdc use new syntax, update docs 2021-07-21 23:08:38 +08:00
caspian
1497fc4290 update docs 2021-07-16 16:57:04 +08:00
caspian
1723a522cc update docs 2021-07-16 10:13:04 +08:00
Romain Neutron
7b515c7235
Avoid short syntax 2021-05-27 21:44:11 +02:00