stable
Clone or download
Read-only
Administrator may not want to deploy ONLYOFFICE integration to the whole platform. To reduce costs or for progressive deployment, we should be able to restrict access to the plugin. Restriction is managed in plugins administration. If a project is not allowed to access to ONLYOFFICE => Documents URLsΒ are not overridden => Direct access to the OO document is rejected Part of story #27555: display Office documents stored in the Document plugin Change-Id: I18b28192ec9d6f8a9248c33b50e7402c0439565c
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/onlyoffice/include/Administration/CheckOnlyOfficeIsAvailable.php | +28 | β0 | Go to diff View file |
A | plugins/onlyoffice/include/Administration/OnlyOfficeAvailabilityChecker.php | +64 | β0 | Go to diff View file |
A | plugins/onlyoffice/include/Open/DocmanFileLastVersionToOnlyOfficeDocumentTransformer.php | +72 | β0 | Go to diff View file |
M | plugins/onlyoffice/include/Open/OnlyOfficeDocumentProvider.php | +2 | β20 | Go to diff View file |
A | plugins/onlyoffice/include/Open/TransformDocmanFileLastVersionToOnlyOfficeDocument.php | +35 | β0 | Go to diff View file |
M | plugins/onlyoffice/include/onlyofficePlugin.php | +24 | β16 | Go to diff View file |
A | plugins/onlyoffice/tests/unit/Administration/OnlyOfficeAvailabilityCheckerTest.php | +148 | β0 | Go to diff View file |
D | plugins/onlyoffice/tests/unit/OnlyOfficePluginTest.php | +0 | β90 | Go to diff View file |
A | plugins/onlyoffice/tests/unit/Open/DocmanFileLastVersionToOnlyOfficeDocumentTransformerTest.php | +110 | β0 | Go to diff View file |
M | plugins/onlyoffice/tests/unit/Open/OnlyOfficeDocumentProviderTest.php | +20 | β17 | Go to diff View file |
A | plugins/onlyoffice/tests/unit/Open/TransformDocmanFileLastVersionToOnlyOfficeDocumentStub.php | +53 | β0 | Go to diff View file |