Skip to main content

get_review_policy

Function get_review_policy 

Source
pub async fn get_review_policy(
    pool: &PgPool,
    actor: &Actor,
    project_id: Uuid,
) -> AppResult<ReviewPolicyView>
Expand description

The review policy of a group (anybody who may see the group; an administrator maintaining a group hidden by the need-to-know policy too). A role group the actor may not see is left out.