Skip to main content

grant_key

Function grant_key 

Source
pub(crate) fn grant_key(drone_id: &str, origin: &str, part: &str) -> String
Expand description

The key a drone’s grant is stored under, in the grants table that web forms and commands use: drone:<id>:<origin>:<part> is neither a site’s origin nor a command’s key. It names the part and the site, so a grant for one site’s call is not one for another’s.