[Enhancement](HttpServer) Add http interface authentication for BE (#17753)
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user