From 81a6f3cceeb3c1c8477fdcdf6a6d8249ec31cfeb Mon Sep 17 00:00:00 2001 From: "Julia.Radzhabova" Date: Tue, 14 Oct 2025 20:26:03 +0300 Subject: [PATCH] Fix Bug 77211 --- .../forms/app/controller/ApplicationController.js | 2 +- apps/documenteditor/main/app/controller/Main.js | 2 +- apps/documenteditor/mobile/src/controller/Main.jsx | 2 +- apps/presentationeditor/main/app/controller/Main.js | 2 +- apps/presentationeditor/mobile/src/controller/Main.jsx | 2 +- apps/spreadsheeteditor/main/app/controller/Main.js | 2 +- apps/spreadsheeteditor/mobile/src/controller/Main.jsx | 2 +- apps/visioeditor/main/app/controller/Main.js | 2 +- apps/visioeditor/mobile/src/controller/Main.jsx | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/documenteditor/forms/app/controller/ApplicationController.js b/apps/documenteditor/forms/app/controller/ApplicationController.js index 1169e61579..a4a2f9591e 100644 --- a/apps/documenteditor/forms/app/controller/ApplicationController.js +++ b/apps/documenteditor/forms/app/controller/ApplicationController.js @@ -2246,7 +2246,7 @@ define([ docInfo.put_Format(this.document.fileType); docInfo.put_Lang(this.editorConfig.lang); docInfo.put_Mode(this.editorConfig.mode); - docInfo.put_Permissions(this.permissions); + docInfo.put_Permissions(this.document.permissions); docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.document.directUrl); docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.document.vkey); docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys); diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 3297dbbcb6..81fc9b1a7e 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -3440,7 +3440,7 @@ define([ docInfo.put_Format(this.document.fileType); docInfo.put_Lang(this.editorConfig.lang); docInfo.put_Mode(this.editorConfig.mode); - docInfo.put_Permissions(this.permissions); + docInfo.put_Permissions(this.document.permissions); docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.document.directUrl); docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.document.vkey); docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys); diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx index 7d2e9b8ecf..7c09321528 100644 --- a/apps/documenteditor/mobile/src/controller/Main.jsx +++ b/apps/documenteditor/mobile/src/controller/Main.jsx @@ -1639,7 +1639,7 @@ class MainController extends Component { docInfo.put_Format(this.document.fileType); docInfo.put_Lang(this.editorConfig.lang); docInfo.put_Mode(this.editorConfig.mode); - docInfo.put_Permissions(this.permissions); + docInfo.put_Permissions(this.document.permissions); docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.document.directUrl); docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.document.vkey); docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys); diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 717f5240c4..45f6dcee2c 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -3070,7 +3070,7 @@ define([ docInfo.put_Format(this.document.fileType); docInfo.put_Lang(this.editorConfig.lang); docInfo.put_Mode(this.editorConfig.mode); - docInfo.put_Permissions(this.permissions); + docInfo.put_Permissions(this.document.permissions); docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.document.directUrl); docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.document.vkey); docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys); diff --git a/apps/presentationeditor/mobile/src/controller/Main.jsx b/apps/presentationeditor/mobile/src/controller/Main.jsx index 63aeeb5cb0..e4aeb9aea5 100644 --- a/apps/presentationeditor/mobile/src/controller/Main.jsx +++ b/apps/presentationeditor/mobile/src/controller/Main.jsx @@ -1182,7 +1182,7 @@ class MainController extends Component { docInfo.put_Format(this.document.fileType); docInfo.put_Lang(this.editorConfig.lang); docInfo.put_Mode(this.editorConfig.mode); - docInfo.put_Permissions(this.permissions); + docInfo.put_Permissions(this.document.permissions); docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.document.directUrl); docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.document.vkey); docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys); diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 5ea3b68f05..d00308db42 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -3793,7 +3793,7 @@ define([ docInfo.put_Format(this.appOptions.spreadsheet.fileType); docInfo.put_Lang(this.editorConfig.lang); docInfo.put_Mode(this.editorConfig.mode); - docInfo.put_Permissions(this.permissions); + docInfo.put_Permissions(this.appOptions.spreadsheet.permissions); docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.appOptions.spreadsheet.directUrl); docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.appOptions.spreadsheet.vkey); docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys); diff --git a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx index 537455eb3c..db5f8f2f71 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx @@ -1351,7 +1351,7 @@ class MainController extends Component { docInfo.put_Format(this.document.fileType); docInfo.put_Lang(this.editorConfig.lang); docInfo.put_Mode(this.editorConfig.mode); - docInfo.put_Permissions(this.permissions); + docInfo.put_Permissions(this.document.permissions); docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.document.directUrl); docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.document.vkey); docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys); diff --git a/apps/visioeditor/main/app/controller/Main.js b/apps/visioeditor/main/app/controller/Main.js index 88f6ce587e..fe27de43ea 100644 --- a/apps/visioeditor/main/app/controller/Main.js +++ b/apps/visioeditor/main/app/controller/Main.js @@ -2055,7 +2055,7 @@ define([ docInfo.put_Format(this.document.fileType); docInfo.put_Lang(this.editorConfig.lang); docInfo.put_Mode(this.editorConfig.mode); - docInfo.put_Permissions(this.permissions); + docInfo.put_Permissions(this.document.permissions); docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.document.directUrl); docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.document.vkey); docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys); diff --git a/apps/visioeditor/mobile/src/controller/Main.jsx b/apps/visioeditor/mobile/src/controller/Main.jsx index 51eb76cb2a..f65d90161a 100644 --- a/apps/visioeditor/mobile/src/controller/Main.jsx +++ b/apps/visioeditor/mobile/src/controller/Main.jsx @@ -816,7 +816,7 @@ class MainController extends Component { docInfo.put_Format(this.document.fileType); docInfo.put_Lang(this.editorConfig.lang); docInfo.put_Mode(this.editorConfig.mode); - docInfo.put_Permissions(this.permissions); + docInfo.put_Permissions(this.document.permissions); docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.document.directUrl); docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.document.vkey); docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys);