Add fixed Eyes research lane
This commit is contained in:
parent
18751933e0
commit
2b3b446489
31 changed files with 593 additions and 57 deletions
|
|
@ -102,6 +102,17 @@ pub fn build_role_acceptance_update(
|
|||
}
|
||||
patch
|
||||
}
|
||||
EpiphanyRoleResultRoleId::Research => {
|
||||
let patch = parse_core_role_finding_state_patch(finding)?;
|
||||
let patch_errors = epiphany_core::research_role_state_patch_policy_errors(&patch);
|
||||
if !patch_errors.is_empty() {
|
||||
return Err(format!(
|
||||
"research role state patch is not acceptable: {}",
|
||||
patch_errors.join("; ")
|
||||
));
|
||||
}
|
||||
patch
|
||||
}
|
||||
EpiphanyRoleResultRoleId::Verification => EpiphanyRoleStatePatchDocument::default(),
|
||||
EpiphanyRoleResultRoleId::Implementation | EpiphanyRoleResultRoleId::Reorientation => {
|
||||
return Err(format!(
|
||||
|
|
|
|||
Reference in a new issue