Skip to main content

add_powers

Function add_powers 

Source
pub(crate) fn add_powers(
    state: &AppState,
    agent: &str,
    sites: &[String],
    powers: &[String],
) -> Result<Row, String>
Expand description

The person’s “Always” on a request banner: a row for agent on the sites the banner named, with powers added to whatever it already carried (a banner that shows fewer powers than a row has never narrows the row).