stable

Clone or download

Read-only

feat: Restrict server

Site admin can restrict and unrestrict the document server. There is no automagic whitelisting of existing projects because the feature targets instances where OO cannot be deployed yet because of the lack of multiple servers. For other cases, a danger modal is displayed to warn the admin. Part of story #29981: restrict an OnlyOffice server to some projects only Change-Id: I26ac6c1ca01dbc4c0b2b2730db732c37a5c1d667

Modified Files

Name
M plugins/onlyoffice/include/Administration/OnlyOfficeRestrictAdminSettingsController.php +1 −1 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/po/fr_FR.po +20 −4 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/AllowAllProjectsCheckbox.vue +14 −6 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/AllowedProjectsTable.vue +4 −0 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/RestrictServer.vue +4 −1 Go to diff View file
A plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/RestrictionConfirmationModal.test.ts +58 −0 Go to diff View file
A plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/RestrictionConfirmationModal.vue +114 −0 Go to diff View file
M plugins/onlyoffice/tests/unit/Administration/OnlyOfficeRestrictAdminSettingsControllerTest.php +20 −2 Go to diff View file