Bottom line: one project can only have one ONLYOFFICE server and the project itself doesn't have to be aware of that. It's site administrator stuff.
Configuration is done by site administrator:
- By default, there is only one ONLYOFFICE server and it is available to all platform.
- I can restrict usage of server to a subset of projects
- When I create new ONLYOFFICE servers (in addition to the first one) they are "closed" by default, it means that I need to add new projects explicitly
- When there are several ONLYOFFICE servers defined
- they must be restricted
- at project creation, new project doesn't have ONLYOFFICE integreation, it must be added manually to one of the approved server
Edge cases:
- Given I have 2 ONLYOFFICE servers (hence restricted) and I remove one. The other stay restricted.