stable

Clone or download

Read-only

feat: Unrestrict server

Siteadmin can now unrestrict a server. It has to be the only one server to have the checkbox (which is now a switch). Part of story #29981: restrict an OnlyOffice server to some projects only Change-Id: Ie69957b65f3ff27cf080b075e9bc07f5e59f569d

Modified Files

Name
M plugins/onlyoffice/include/Administration/OnlyOfficeRestrictAdminSettingsController.php +45 −6 Go to diff View file
M plugins/onlyoffice/include/DocumentServer/DocumentServerDao.php +15 −0 Go to diff View file
M plugins/onlyoffice/include/DocumentServer/IRestrictDocumentServer.php +5 −0 Go to diff View file
A plugins/onlyoffice/include/DocumentServer/TooManyServersException.php +27 −0 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/po/fr_FR.po +20 −0 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/AllowAllProjectsCheckbox.vue +55 −4 Go to diff View file
A plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/UnrestictionConfirmationModal.test.ts +58 −0 Go to diff View file
A plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/UnrestictionConfirmationModal.vue +114 −0 Go to diff View file
M plugins/onlyoffice/site-content/fr_FR/LC_MESSAGES/tuleap-onlyoffice.po +11 −0 Go to diff View file
M plugins/onlyoffice/site-content/pr_BR/LC_MESSAGES/tuleap-onlyoffice.po +8 −0 Go to diff View file
M plugins/onlyoffice/tests/integration/DocumentServer/DocumentServerDaoTest.php +27 −0 Go to diff View file
M plugins/onlyoffice/tests/unit/Administration/OnlyOfficeRestrictAdminSettingsControllerTest.php +41 −3 Go to diff View file
M plugins/onlyoffice/tests/unit/Stubs/IRestrictDocumentServerStub.php +23 −3 Go to diff View file