MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / init

Function init

resources/access/access.go:18–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16)
17
18func init() {
19 ts := make(map[string][]Access)
20 err := yaml.Unmarshal(data, &ts)
21 if err != nil {
22 panic(err)
23 }
24 for group, asl := range ts {
25 access.Add(group, asl)
26
27 }
28}
29
30const (
31 SystemAnalysisRunViewView = "system.analysis.run_view.view"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected