Skip to content

Commit 86315c5

Browse files
authored
add interrupt-inheritance flag to acl handler (#7701)
1 parent 7c90c71 commit 86315c5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ydb/core/viewer/protos/viewer.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ message TMetaCommonInfo {
9393
repeated uint32 Nodes = 15;
9494
repeated uint32 Disks = 16;
9595
repeated TACE ACL = 17;
96+
bool InterruptInheritance = 40;
9697

9798
TBackupInfo Backup = 18;
9899
TResources Resources = 19;

ydb/core/viewer/viewer_acl.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ class TJsonACL : public TViewerPipeClient {
166166
auto& pbAce = *pbCommon.AddACL();
167167
FillACE(ace, pbAce);
168168
}
169+
if (acl.GetInterruptInheritance()) {
170+
pbCommon.SetInterruptInheritance(true);
171+
}
169172
}
170173
if (entry.Self->Info.HasEffectiveACL()) {
171174
NACLib::TACL acl(entry.Self->Info.GetEffectiveACL());
@@ -245,6 +248,8 @@ class TJsonACL : public TViewerPipeClient {
245248
type: array
246249
items:
247250
type: string
251+
InterruptInheritance:
252+
type: boolean
248253
EffectiveACL:
249254
type: array
250255
items:

0 commit comments

Comments
 (0)