merge main

This commit is contained in:
Xiaoyu Wang 2023-04-11 17:55:11 +08:00
parent 4c04b155d5
commit 2a887dc55e
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;