diff --git a/src/api.rs b/src/api.rs index 9bc2708..686ad75 100644 --- a/src/api.rs +++ b/src/api.rs @@ -94,6 +94,7 @@ pub struct UserDiff { pub state_id: String, // TODO add a merkle proof that the new_value belongs to that state pub value_commitment: String, pub field: String, + pub roles: BTreeMap, pub description: Option, pub notify_user: bool, pub need_validation: bool, @@ -782,6 +783,7 @@ fn create_diffs(process: &Process, new_state: &ProcessState) -> AnyhowResult