feat(ui/trash): show original file path in tooltip on mouse over + display thumbnails
* fix: permission also check elements trashed elements * tested manually * all automated tests ok
This commit is contained in:
@@ -70,6 +70,10 @@ impl FileReadPort for StubFileReadPort {
|
||||
Ok(File::default())
|
||||
}
|
||||
|
||||
async fn get_file_or_trashed(&self, _id: &str) -> Result<File, DomainError> {
|
||||
Ok(File::default())
|
||||
}
|
||||
|
||||
async fn list_files(&self, _folder_id: Option<&str>) -> Result<Vec<File>, DomainError> {
|
||||
Ok(Vec::new())
|
||||
}
|
||||
@@ -527,6 +531,14 @@ impl FileRetrievalUseCase for StubFileRetrievalUseCase {
|
||||
Ok(FileDto::default())
|
||||
}
|
||||
|
||||
async fn get_file_or_trashed_with_perms(
|
||||
&self,
|
||||
_id: &str,
|
||||
_owner_id: Uuid,
|
||||
) -> Result<FileDto, DomainError> {
|
||||
Ok(FileDto::default())
|
||||
}
|
||||
|
||||
async fn list_files(&self, _folder_id: Option<&str>) -> Result<Vec<FileDto>, DomainError> {
|
||||
Ok(Vec::new())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user