mirror of
https://github.com/peridotbuild/peridot.git
synced 2025-01-02 23:20:55 +00:00
mship_dev admin requires "authors" group. so requires logging in with Mock
This commit is contained in:
parent
72431e48a3
commit
672bd1a654
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,7 @@ func setupAdminUi(ctx *cli.Context) (*base.FrontendInfo, error) {
|
|||
assets := mship_admin_ui.InitFrontendInfo(info)
|
||||
info.NoRun = true
|
||||
info.Self = "http://localhost:9111/admin"
|
||||
info.OIDCGroup = "authors"
|
||||
err := base.FrontendServer(info, assets)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
@ -88,6 +89,7 @@ func setupAdminApi(ctx *cli.Context) (*runtime.ServeMux, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
oidcInterceptorDetails.Group = "authors"
|
||||
|
||||
s, err := mothershipadmin_rpc.NewServer(
|
||||
base.GetDBFromFlags(ctx),
|
||||
|
|
Loading…
Reference in a new issue