- docs/: shiroa book with three example categories (thermo, security, homelab); pages declare access via '#let access-groups = (...)' - cmd/parser: scans docs/ and generates acl.json (public by default, skips book.typ/template.typ/partials) - internal/acl: loads acl.json, normalizes URLs to page keys so a page's renderer data (*.multi.sir.in) inherits its protection; fail closed on malformed input - internal/oidc: authorization-code flow client, verified ID tokens, groups claim from Authentik - internal/middleware: in-memory sessions, login/logout/callback handlers, CSRF states, access gate + security headers - cmd/server + embed.go: single binary embedding dist/ and acl.json; /searchindex.json blocked; graceful shutdown - Justfile (build/run/parse/check/clean/preview-docs), Gitea Actions workflow (shiroa v0.4.0-rc2), rootless Dockerfile, README - legacy docs moved to legacy_docs/; .idea untracked
11 lines
186 B
AMPL
11 lines
186 B
AMPL
module github.com/Klagarge/yggdrasil
|
|
|
|
go 1.27.1
|
|
|
|
require (
|
|
github.com/coreos/go-oidc/v3 v3.21.0
|
|
golang.org/x/oauth2 v0.37.0
|
|
)
|
|
|
|
require github.com/go-jose/go-jose/v4 v4.1.4 // indirect
|