Implement scopes
This commit is contained in:
parent
be07ac5d83
commit
064ae2f564
15 changed files with 232 additions and 137 deletions
|
|
@ -18,9 +18,13 @@ type Auth struct {
|
|||
SQL *sql.SQL
|
||||
UserDeleteHooks []component.UserDeleteHook
|
||||
Templating *templating.Templating
|
||||
ScopeProviders []component.ScopeProvider
|
||||
}
|
||||
|
||||
store lazy.Lazy[sessions.Store]
|
||||
|
||||
scopeInfos lazy.Lazy[[]component.ScopeInfo]
|
||||
scopeIndex lazy.Lazy[map[component.Scope]int]
|
||||
}
|
||||
|
||||
var (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue