Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Use CH Multiprofile #105

Open
Nyantechnolog opened this issue Dec 13, 2022 · 0 comments
Open

Use CH Multiprofile #105

Nyantechnolog opened this issue Dec 13, 2022 · 0 comments

Comments

@Nyantechnolog
Copy link

Hello,
Clickhouse can use multiprofile for user, like


 <!-- Default users. -->
    <default>
        <password></password>
        <profile>default</profile>
        <profile>readonly</profile>
          </default>

I tried to create user, as

  • { name: "name1", profile: "default, readonly", quota: "default", dbs: [ default ] }
    or
  • { name: "name2", profile: [ default,readonly ], quota: "default", dbs: [ default ] }

But in /etc/clickhouse-server/users.d/users.xml it pastes like
<profile>default, readonly</profile>
or
<profile>['default', 'readonly']</profile>

Is there a way to use multiprofile, like you paste multi dbs in users dict ?

Thanks for your work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant