RED-1722: Disable approval for files with requests
This commit is contained in:
parent
af3c7282d0
commit
f0c0d63703
@ -129,7 +129,7 @@ export class PermissionsService {
|
||||
}
|
||||
|
||||
canApprove(fileStatus = this._activeFile): boolean {
|
||||
return !fileStatus?.analysisRequired;
|
||||
return !fileStatus?.analysisRequired && !fileStatus.hasRequests;
|
||||
}
|
||||
|
||||
canSetUnderApproval(fileStatus = this._activeFile): boolean {
|
||||
|
||||
@ -204,7 +204,7 @@
|
||||
"download-file-disabled": "Das Herunterladen ist nur für genehmigte Dateien zulässig",
|
||||
"under-approval": "Zur Genehmigung",
|
||||
"approve": "Genehmigen",
|
||||
"approve-disabled": "Die Datei kann erst genehmigt werden, wenn sie mit den neuesten Wörterbüchern analysiert und alle Vorschläge verarbeitet wurden",
|
||||
"approve-disabled": "Die Datei kann erst genehmigt werden, wenn sie mit den neuesten Wörterbüchern analysiert und alle Vorschläge verarbeitet wurden.",
|
||||
"under-review": "Wird überprüft",
|
||||
"upload-files": "Ziehen",
|
||||
"upload-files-btn": "Daten hochladen",
|
||||
|
||||
@ -256,7 +256,7 @@
|
||||
"download-file-disabled": "Download is only permitted for approved files",
|
||||
"under-approval": "For Approval",
|
||||
"approve": "Approve",
|
||||
"approve-disabled": "File can only be approved once it has been analysed with the latest dictionaries and all suggestions have been processed",
|
||||
"approve-disabled": "File can only be approved once it has been analysed with the latest dictionaries and all suggestions have been processed.",
|
||||
"under-review": "Under Review",
|
||||
"upload-files": "Drag & drop files anywhere...",
|
||||
"upload-files-btn": "Upload Files",
|
||||
@ -433,6 +433,14 @@
|
||||
"success": "Redaction added!",
|
||||
"error": "Failed to save redaction: {{error}}"
|
||||
},
|
||||
"approve": {
|
||||
"success": "Suggestion approved.",
|
||||
"error": "Failed to approve suggestion: {{error}}"
|
||||
},
|
||||
"decline": {
|
||||
"success": "Suggestion declined.",
|
||||
"error": "Failed to decline suggestion: {{error}}"
|
||||
},
|
||||
"search": "Document name..."
|
||||
},
|
||||
"dictionary": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user