fix(fe): show different panes according to user role

This commit is contained in:
hexxa 2021-09-25 11:53:34 +08:00 committed by Hexxa
parent 9501bed740
commit 08ed7f175b
8 changed files with 94 additions and 92 deletions

View file

@ -111,6 +111,7 @@ func NewMultiUsersSvc(cfg gocfg.ICfg, deps *depidx.Deps) (*MultiUsersSvc, error)
apiRuleCname(userstore.VisitorRole, "OPTIONS", "/v1/settings/health"): true,
apiRuleCname(userstore.VisitorRole, "GET", "/v1/captchas/"): true,
apiRuleCname(userstore.VisitorRole, "GET", "/v1/captchas/imgs"): true,
apiRuleCname(userstore.VisitorRole, "GET", "/v1/fs/sharings/exist"): true,
}
return &MultiUsersSvc{