@@ -1311,7 +1311,7 @@ TDescribePartitionActor::TDescribePartitionActor(NKikimr::NGRpcService::IRequest
1311
1311
1312
1312
void TDescribePartitionActor::Bootstrap (const NActors::TActorContext& ctx) {
1313
1313
LOG_DEBUG_S (ctx, NKikimrServices::PQ_READ_PROXY, " TDescribePartitionActor" << ctx.SelfID .ToString () << " : Bootstrap" );
1314
- CheckAccessWithUpdateRowPermission = true ;
1314
+ CheckAccessWithWriteTopicPermission = true ;
1315
1315
TBase::Bootstrap (ctx);
1316
1316
SendDescribeProposeRequest (ctx);
1317
1317
Become (&TDescribePartitionActor::StateWork);
@@ -1322,7 +1322,7 @@ void TDescribePartitionActor::StateWork(TAutoPtr<IEventHandle>& ev) {
1322
1322
case TEvTxProxySchemeCache::TEvNavigateKeySetResult::EventType:
1323
1323
if (NeedToRequestWithDescribeSchema (ev)) {
1324
1324
// We do not have the UpdateRow permission. Check if we're allowed to DescribeSchema.
1325
- CheckAccessWithUpdateRowPermission = false ;
1325
+ CheckAccessWithWriteTopicPermission = false ;
1326
1326
SendDescribeProposeRequest (ActorContext ());
1327
1327
break ;
1328
1328
}
@@ -1337,7 +1337,7 @@ void TDescribePartitionActor::StateWork(TAutoPtr<IEventHandle>& ev) {
1337
1337
// Return true if we need to send a second request to SchemeCache with DescribeSchema permission,
1338
1338
// because the first request checking the UpdateRow permission resulted in an AccessDenied error.
1339
1339
bool TDescribePartitionActor::NeedToRequestWithDescribeSchema (TAutoPtr<IEventHandle>& ev) {
1340
- if (!CheckAccessWithUpdateRowPermission ) {
1340
+ if (!CheckAccessWithWriteTopicPermission ) {
1341
1341
// We've already sent a request with DescribeSchema, ev is a response to it.
1342
1342
return false ;
1343
1343
}
0 commit comments