Skip to main content

project

Function project 

Source
pub fn project(profile: &Profile) -> Verdict
Expand description

Project a resolved profile to a legacy Verdict: the lowest authored level that admits it, mapped back to its legacy SafetyLevel; Denied if no legacy-mapped level admits it (above the auto-approve band → worst-case, §0). default_levels() builds the ascending chain (paranoid ⊂ reader ⊂ editor ⊂ developer), so the first match among the mapped levels is the minimum.