v.23.1Improvement

Add user setting to ban arguments for ReplicatedMergeTree tables

Add a user-level setting database_replicated_allow_replicated_engine_arguments which allows banning the creation of ReplicatedMergeTree tables with arguments in DatabaseReplicated. #44566 (alesapin).
Added a user-level setting database_replicated_allow_replicated_engine_arguments that restricts the creation of ReplicatedMergeTree tables with arguments inside DatabaseReplicated.

Why it matters

This feature addresses the need to control and prevent the creation of replicated tables with engine arguments within DatabaseReplicated, enhancing configuration safety and preventing potential misuse or misconfiguration at the user level.

How to use it

Users can enable this restriction by setting the user-level setting database_replicated_allow_replicated_engine_arguments to 0 (false). This disables creating ReplicatedMergeTree tables with arguments inside DatabaseReplicated. To allow creation again, set it to 1 (true).