feat(domain): user identity (UserId, Email), Role/Capability policy

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 14:29:04 +02:00
parent 1ed9798a1f
commit 74b2cf65ed
3 changed files with 182 additions and 1 deletions
+4
View File
@@ -72,6 +72,10 @@ id_newtype!(
/// Identifier for a flexible-field definition.
FieldDefinitionId
);
id_newtype!(
/// Identifier for a user of this organization's instance.
UserId
);
#[cfg(test)]
mod tests {