merge main
This commit is contained in:
parent
4c04b155d5
commit
2a887dc55e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue