Skip to main content

conflicting_reviewer

Function conflicting_reviewer 

Source
pub fn conflicting_reviewer(
    reviewer: Uuid,
    author: Uuid,
    submitter: Option<Uuid>,
    editors: &[Uuid],
) -> Option<ReviewConflict>
Expand description

Four-eyes check: the reviewer must be neither the author, nor the person who submitted the change (an administrator acting for the author), nor anyone who changed the affected revisions (editors).