diff --git a/server/src/lib.rs b/server/src/lib.rs index be3d008..68accd3 100644 --- a/server/src/lib.rs +++ b/server/src/lib.rs @@ -381,12 +381,22 @@ impl FetchPermissions for CloudstateFetchPermissions { fn check_read<'a>( &mut self, + resolved: bool, p: &'a Path, - _api_name: &str, - ) -> Result, PermissionCheckError> { + api_name: &str, + ) -> Result, deno_fs::FsError> { debug!("checking read fetch permission"); Ok(p.to_path_buf().into()) } + + // fn check_read<'a>( + // &mut self, + // p: &'a Path, + // _api_name: &str, + // ) -> Result, PermissionCheckError> { + // debug!("checking read fetch permission"); + // Ok(p.to_path_buf().into()) + // } } // struct CloudstateNetPermissions {}