[Enhancement](HttpServer) Add http interface authentication for BE (#17753)

This commit is contained in:
xiaojunjie
2023-05-04 23:46:49 +08:00
committed by GitHub
parent 4b85c2738e
commit 9813406757
43 changed files with 447 additions and 164 deletions

View File

@ -1522,6 +1522,9 @@ public class FrontendServiceImpl implements FrontendService.Iface {
}
private PrivPredicate getPrivPredicate(TPrivilegeType privType) {
if (privType == null) {
return null;
}
switch (privType) {
case SHOW:
return PrivPredicate.SHOW;