Implement scopes
This commit is contained in:
parent
be07ac5d83
commit
064ae2f564
15 changed files with 232 additions and 137 deletions
|
|
@ -11,6 +11,7 @@ import (
|
|||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/auth/next"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/auth/panel"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/auth/policy"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/auth/scopes"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/binder"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/docker"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/exporter"
|
||||
|
|
@ -144,6 +145,10 @@ func (dis *Distillery) allComponents() []initFunc {
|
|||
auto[*panel.UserPanel],
|
||||
auto[*next.Next],
|
||||
|
||||
//scopes
|
||||
auto[*scopes.UserLoggedIn],
|
||||
auto[*scopes.AdminLoggedIn],
|
||||
|
||||
// instances
|
||||
auto[*instances.Instances],
|
||||
auto[*meta.Meta],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue