Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kssenii committed Aug 30, 2023
1 parent 7c529e5 commit 185e381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Access/UsersConfigAccessStorage.cpp
Expand Up @@ -289,7 +289,7 @@ namespace
}

bool access_management = config.getBool(user_config + ".access_management", false);
bool named_collection_control = config.getBool(user_config + ".named_collection_control", false);
bool named_collection_control = config.getBool(user_config + ".named_collection_control", false) || config.getBool(user_config + ".named_collection_admin", false);
bool show_named_collections_secrets = config.getBool(user_config + ".show_named_collections_secrets", false);

if (grant_queries)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_storage_s3/configs/users.xml
Expand Up @@ -3,7 +3,7 @@
<default>
<password></password>
<profile>default</profile>
<named_collection_control>1</named_collection_control>
<named_collection_admin>1</named_collection_admin>
</default>
</users>
</clickhouse>

0 comments on commit 185e381

Please sign in to comment.