diff options
author | vovamelnikov <vovamelnikov@yandex-team.com> | 2023-09-05 19:08:38 +0300 |
---|---|---|
committer | vovamelnikov <vovamelnikov@yandex-team.com> | 2023-09-05 20:29:26 +0300 |
commit | 7e762ee28ddf028e5e97d0d1873ddbb7800972ef (patch) | |
tree | 1e3e67eccae2ad1f706ace568af175e49d61a459 /yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp | |
parent | 260e4396096e87d87dc7e95f9f6eb11854df0c2d (diff) | |
download | ydb-7e762ee28ddf028e5e97d0d1873ddbb7800972ef.tar.gz |
YT-19222: Forbid irreversible changes to ACLs (unless they are forced)
Diffstat (limited to 'yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp')
-rw-r--r-- | yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp b/yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp index 30f0fb3b9d..7a3c3548c7 100644 --- a/yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp +++ b/yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp @@ -193,6 +193,9 @@ TNode SerializeParamsForMultisetAttributes( TNode result; SetTransactionIdParam(&result, transactionId); SetPathParam(&result, pathPrefix, path); + if (options.Force_) { + result["force"] = *options.Force_; + } return result; } |