merge main

This commit is contained in:
Xiaoyu Wang 2023-04-12 10:44:04 +08:00
parent 8b8ac0cd77
commit 5d9f3c4133
1 changed files with 4 additions and 4 deletions

View File

@ -1400,10 +1400,10 @@ int32_t ctgChkSetAuthRes(SCatalog* pCtg, SCtgAuthReq* req, SCtgAuthRsp* res) {
pRes->pass = false;
pRes->pCond = NULL;
// if (!pInfo->enable) {
// pRes->pass = false;
// return TSDB_CODE_SUCCESS;
// }
if (!pInfo->enable) {
pRes->pass = false;
return TSDB_CODE_SUCCESS;
}
if (pInfo->superAuth) {
pRes->pass = true;