fix(fe): show different panes according to user role
This commit is contained in:
parent
9501bed740
commit
08ed7f175b
8 changed files with 94 additions and 92 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue