92282: Support restricted thumbnails

This commit is contained in:
Yura Bondarenko
2022-06-17 15:43:46 +02:00
parent e4f483c308
commit e15da9b76b
9 changed files with 391 additions and 94 deletions

View File

@@ -0,0 +1,8 @@
import { Observable, of as observableOf } from 'rxjs';
import { FeatureID } from '../../core/data/feature-authorization/feature-id';
export class AuthorizationDataServiceStub {
isAuthorized(featureId?: FeatureID, objectUrl?: string, ePersonUuid?: string): Observable<boolean> {
return observableOf(false);
}
}

View File

@@ -0,0 +1,7 @@
import { of as observableOf } from 'rxjs';
export class FileServiceStub {
retrieveFileDownloadLink() {
return observableOf(null);
}
}