Merge branch 'release/1.9.11' into develop

This commit is contained in:
Халтобин Евгений 2025-04-11 09:31:59 +03:00
commit 69a2ad479f

View file

@ -28,6 +28,7 @@ import {
import {
TreeItemRpcService
} from "../../../generated/ru/micord/ervu/account_applications/component/rpc/TreeItemRpcService";
import {AuthorizationService} from "../../../modules/app/service/authorization.service";
@Component({
@ -80,6 +81,10 @@ export class DropdownTreeViewComponent extends InputControl {
this.taskParamsProvider = this.injector.get(TaskParamsProvider);
this.localStorageService = this.injector.get(LocalStorageService);
this.pageContextHolder = this.injector.get(PageContextHolder);
let authService = this.injector.get(AuthorizationService);
if (authService.hasRole('security_administrator')) {
this.skipInitialSelection = true;
}
this.webbpmStorage =
this.getTreeValuesStorage(this.treeValuesCacheStrategy, this.treeValuesCustomName);
this.cachedValue = this.getCachedValue();