Is it possible to allow remote function for readonly user?

159 views
Skip to first unread message

Max G

unread,
Aug 9, 2018, 12:23:47 PM8/9/18
to ClickHouse
message":"failed to query  select count(*) from remote('localhost,node1', 'default', 'visitors') []: Code: 164, Message: Table functions are forbidden in readonly mode

I've got this error when used "readonly" user.
I want to restrict access to changing the tables, but it's important to keep the ability to read everything users want.
I didn't find in docs specific rule for "table functions".

Is it possible?

Denis Zhuravlev

unread,
Aug 9, 2018, 12:49:00 PM8/9/18
to ClickHouse

Max G

unread,
Aug 9, 2018, 1:45:10 PM8/9/18
to ClickHouse
Yes, thank you. It works.

четверг, 9 августа 2018 г., 19:49:00 UTC+3 пользователь Denis Zhuravlev написал:
Reply all
Reply to author
Forward
0 new messages