ErrorsSign-in and identity · rule
semantic.multiple_principals
Project declares more than one principal.
Area 8, Sign-in and identity; not declinable; the next step is usually the agent's.
principal { user: { subject: Member.handle }}principal { user: { subject: Member.handle }}type Handle = Text { max_length: 40}entity Member { id: Uuid handle: Handle { unique: true }}
error principal { } is declared twice
--> main.jadpo:7:1
|1 | principal { | --------- first declared here7 | principal { | ^^^^^^^^^ declared again
- reason
- The caller is declared once, in
app.jadpo: oneuser:and at most oneservice:, so every route reads the same caller. - next
- Move what this
principalholds into the first, and remove it (agent) - rule
- semantic.
multiple_ principals - help
- https://jadpo.
dev/docs/errors/semantic. multiple_ principals
Markdown for agents: /docs/errors/semantic.multiple_principals.md.Built from Jadpo main at aee2e8f.