[Mobile] Always use user info parser

This commit is contained in:
Julia Radzhabova 2021-07-02 02:06:34 +03:00
parent df7f0b5934
commit 9396f76125
3 changed files with 9 additions and 0 deletions

View file

@ -84,6 +84,9 @@ export class storeAppOptions {
&& (!!(config.customization.goback.url) || config.customization.goback.requestClose && this.canRequestClose);
this.canBack = this.canBackToFolder === true;
this.canPlugins = false;
AscCommon.UserInfoParser.setParser(true);
AscCommon.UserInfoParser.setCurrentName(this.user.fullname);
}
setPermissionOptions (document, licType, params, permissions, isSupportEditFeature) {
if (params.asc_getRights() !== Asc.c_oRights.Edit)

View file

@ -61,6 +61,9 @@ export class storeAppOptions {
&& (!!(config.customization.goback.url) || config.customization.goback.requestClose && this.canRequestClose);
this.canBack = this.canBackToFolder === true;
this.canPlugins = false;
AscCommon.UserInfoParser.setParser(true);
AscCommon.UserInfoParser.setCurrentName(this.user.fullname);
}
setPermissionOptions (document, licType, params, permissions, isSupportEditFeature) {

View file

@ -68,6 +68,9 @@ export class storeAppOptions {
&& (!!(config.customization.goback.url) || config.customization.goback.requestClose && this.canRequestClose);
this.canBack = this.canBackToFolder === true;
this.canPlugins = false;
AscCommon.UserInfoParser.setParser(true);
AscCommon.UserInfoParser.setCurrentName(this.user.fullname);
}
setPermissionOptions (document, licType, params, permissions, isSupportEditFeature) {