delightful-yak-60786
04/15/2025, 8:23 PMmagnificent-energy-493
delightful-yak-60786
04/16/2025, 7:20 AMv0.14.0
the github repo also uses two different versions for migrations (using the newer tag) and the daemon (using v0.11.x
)delightful-yak-60786
04/16/2025, 7:21 AMconfig.yaml
looks like
version: "v0.14.0"
log:
level: debug
namespaces:
location: file:///home/ory/
which seems to have fixed things. prior I was. including the serve
option but kept getting an error that port
was failing the parser step.delightful-yak-60786
04/16/2025, 7:22 AM// import { Namespace, SubjectSet, Context } from "@ory/keto-namespace-types"
class User implements Namespace { }
class Blog implements Namespace {
related: {
viewers: User[]
}
permits = {
view: (ctx: Context): boolean =>
this.related.viewers.includes(ctx.subject)
}
}
where I had to comment out the import for the parser to check.delightful-yak-60786
04/16/2025, 7:24 AMconfig.yaml
seemed to fail to parse
host: 0.0.0.0
and rather expected to use
host: "0.0.0.0"
which I dodnt understand either. I could omit these parts of the configuration and it still worked in the end.