Skip to content

Commit 79c5b8f

Browse files
committed
cr: explain publish
1 parent 884338d commit 79c5b8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ydb/core/tx/schemeshard/schemeshard__operation_alter_login.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ class TAlterLogin: public TSubOperationBase {
227227
}
228228
NACLib::TACL effectiveACL(path->CachedEffectiveACL.GetForSelf());
229229
if (effectiveACL.HasAccess(user)) {
230+
// publish paths from which the user's access is being removed
231+
// user access could have been granted directly (ACL, handled by `acl.TryRemoveAccess(user)` above)
232+
// or it might have been inherited from a parent (effective ACL)
230233
context.OnComplete.PublishToSchemeBoard(OperationId, pathId);
231234
}
232235
}

0 commit comments

Comments
 (0)