fn check_share_target(
state: &AppState,
id: &str,
agent: &str,
) -> Result<(), String>Expand description
A share names an agent this computer has, and a Vault the agent may use: a login in a Vault closed to it would not be offered, so the person is told to open the Vault first (A5).