ErrorsSign-in and identity · rule
semantic.principal_variant_required
Principal declares neither a user nor a service.
Area 8, Sign-in and identity; not declinable; the next step is usually the agent's.
principal {}error The principal declares no kind of caller
--> main.jadpo:1:1
|1 | principal {} | ^^^^^^^^^ no `user:` or `service:`
- reason
- A principal says which entity a signed-in caller is:
user:for a person,service:for another system, or both. - next
- Add
user: { subject: <Entity>.<field> }(agent) - rule
- semantic.
principal_ variant_ required - help
- https://jadpo.
dev/docs/errors/semantic. principal_ variant_ required
Markdown for agents: /docs/errors/semantic.principal_variant_required.md.Built from Jadpo main at aee2e8f.