Identity · rule
type.principal_active_invalid
Principal's active condition is not a test of the record's own fields.
Area 8, 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 on `Member`'s own fields, such as `Member.<field> == <value>`; a field alone says nothing to compare it with. next: Compare a field of `Member` with a value (agent) rule: type.principal_active_invalid help: https://jadpo.dev/docs/errors/type.principal_active_invalidcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.principal_active_invalid.md.Built from Jadpo main at a707efb.