Commit 28f43e7b authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

Merge branch 'feat/20314/21.03' into '21.03'

[20314] [Onlyoffice] Compatibilité 6.3.1 avec MC 21.03

See merge request maarch/MaarchCourrier!682
parents b1eb0d99 dec518b0
......@@ -293,10 +293,12 @@ export class EcplOnlyofficeViewerComponent implements OnInit, AfterViewInit, OnD
title: 'Edition',
url: `${this.appUrl}${this.params.docUrl}?filename=${this.tmpFilename}`,
permissions: {
comment: false,
comment: true,
download: true,
edit: this.editMode,
print: true,
deleteCommentAuthorOnly: true,
editCommentAuthorOnly: true,
review: false
}
},
......@@ -307,7 +309,7 @@ export class EcplOnlyofficeViewerComponent implements OnInit, AfterViewInit, OnD
mode: 'edit',
customization: {
chat: false,
comments: false,
comments: true,
compactToolbar: false,
feedback: false,
forcesave: false,
......@@ -317,8 +319,8 @@ export class EcplOnlyofficeViewerComponent implements OnInit, AfterViewInit, OnD
zoom: -2,
},
user: {
id: '1',
name: ' '
id: this.headerService.user.id.toString(),
name: `${this.headerService.user.firstname} ${this.headerService.user.lastname}`
},
},
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment