ErrorsSign-in and identity · rule
type.principal_active_invalid
Principal's active condition is not a test of the record's own fields.
Area 8, Sign-in and identity; not declinable; the next step is usually the agent's.
principal { user: { subject: Member.handle active: Member.suspended }}type Handle = Text { max_length: 40}entity Member { id: Uuid handle: Handle { unique: true } suspended: Bool}
error Member.suspended isn't a condition active: can use
--> main.jadpo:4:17
|4 | active: Member.suspended | ^^^^^^^^^^^^^^^^ not a comparison
- reason
active:is a condition onMember's own fields, such asMember.<field> == <value>; a field alone says nothing to compare it with.- next
- Compare a field of
Memberwith a value (agent) - rule
- type.
principal_ active_ invalid - help
- https://jadpo.
dev/docs/errors/type. principal_ active_ invalid
Markdown for agents: /docs/errors/type.principal_active_invalid.md.Built from Jadpo main at aee2e8f.