stable
Clone or download
Read-only
Go to siteadmin Β» ONLYOFFICE Open the restrict modal of a retricted server. Search for a project and click on `Allow project` button:Β the project should be added in the table. If an error occurred during the fetch of project information, then an error message is displayed. We are forced to make a REST call because project autocompleter result is a string "public name (shortname)" and we have to retrieve other information of the project. The added projects are not saved in the database, it will be part of a dedicated contribution. Part of story #29981: restrict an OnlyOffice server to some projects only Change-Id: I057285f9ce414ee7991e7e239b7023995e1ee93d
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/onlyoffice/scripts/siteadmin/package.json | +4 | β1 | Go to diff View file |
M | plugins/onlyoffice/scripts/siteadmin/pnpm-lock.yaml | +10 | β0 | Go to diff View file |
M | plugins/onlyoffice/scripts/siteadmin/po/fr_FR.po | +3 | β0 | Go to diff View file |
M | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/AllowedProjectsTable.vue | +31 | β20 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/ProjectAllower.test.ts | +181 | β0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/ProjectAllower.vue | +121 | β0 | Go to diff View file |
D | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/ProjectAutocompleter.vue | +0 | β42 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/helpers/extract-projectname-from-autocompleter-result.test.ts | +30 | β0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/helpers/extract-projectname-from-autocompleter-result.ts | +24 | β0 | Go to diff View file |
M | plugins/onlyoffice/scripts/siteadmin/src/type.ts | +6 | β0 | Go to diff View file |