async fn test_permissions(
    config: BTreeMap<String, String>
) -> Result<(), OpError>