Skip to content

Commit fdbc79b

Browse files
committed
Unfix a fix that breaks some tests
1 parent 6cc824f commit fdbc79b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/scheme_board/cache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ namespace {
305305
SetErrorAndClear(
306306
Context.Get(),
307307
entry,
308-
!securityObject->CheckAccess(NACLib::EAccessRights::DescribeSchema, *Context->Request->UserToken));
308+
securityObject->CheckAccess(GetAccessForEnhancedError(), *Context->Request->UserToken));
309309
}
310310
}
311311
}

0 commit comments

Comments
 (0)