DB level permission

121 views
Skip to first unread message

sadik...@gmail.com

unread,
Sep 14, 2017, 1:55:19 AM9/14/17
to ClickHouse
hi All,

is it possible to grant permission on below scenarios?

User AA  ---- read/write to Database UU
User BB -- read to Database UU , write to Database TT

Regards,
sadika


Vitaliy Lyudvichenko

unread,
Sep 19, 2017, 5:45:43 AM9/19/17
to ClickHouse
Hi!
At the moment ClickHouse has a very limited support of user privileges.
The only things you can do are:
  • set readonly flag for a user
  • specify list of allowed databases for a user (section <allow_databases></allow_databases> in user's config)

четверг, 14 сентября 2017 г., 8:55:19 UTC+3 пользователь sadik...@gmail.com написал:

meo bogliolo

unread,
Jun 4, 2020, 6:43:25 PM6/4/20
to ClickHouse
Now it is easy (since 20.4)
Enable the SQL access control and you can use standard RBAC grant statements like:

grant select on UU.* to BB;
grant select, insert on TT.* to BB;
...
Reply all
Reply to author
Forward
0 new messages