fix: grant check for streams

This commit is contained in:
kailixu 2024-02-19 16:29:40 +08:00
parent a5434fa92d
commit 5b69e22e9b
1 changed files with 1 additions and 1 deletions

View File

@ -634,7 +634,7 @@ static int32_t mndProcessCreateStreamReq(SRpcMsg *pReq) {
terrno = TSDB_CODE_SUCCESS;
if ((terrno = grantCheck(TSDB_GRANT_STREAMS)) < 0) {
goto _OVER;
return terrno;
}
SCMCreateStreamReq createReq = {0};