Skip to main content

access_for

Function access_for 

Source
pub fn access_for(
    _mstore: &Store,
    id_store: &Arc<Store>,
    identity_store: &Arc<Store>,
    def: &AgentDefinition,
    service: Service,
    account: Option<&str>,
) -> Result<Access, String>
Expand description

The account and level def may use service with. account is the email the agent named, if it named one; without one, the single account it holds the service on.