itflow-org / itflow

Free and open-source web application for MSPs. Unifies IT documentation, ticketing, invoicing.
https://itflow.org
GNU General Public License v3.0
568 stars 146 forks source link

Allow publishing certain documents to client portal #983

Closed jackveney closed 2 months ago

jackveney commented 3 months ago

Allows for publishing certain documents to the client portal. Defaults documents to not publish to client portal.

wrongecho commented 3 months ago

Hey @jackveney

Thanks for the PR! Sorry for the delay in coming back to you.

Not sure if you're aware, but currently all documents are visible to technical client contacts within the portal as we have the idea that the documents belong to the clients. The only downside to this is that there's no way to publish selected documents to all contacts, e.g. KB articles (personally I'd like a separate module just for this but who knows). Is this the challenge this PR is trying to solve?

If we were to move forward with this, it's worth mentioning that to make database changes you need to adjust both db.sql (new installs) and database_updates.php (for existing installs). Also, no changes have been requested to portal/documents.php (or document.php) which would allow the client contacts to actually see the documents.

Thanks in advance!

wrongecho commented 2 months ago

Soft closing for now, feel free to reopen.

wrongecho commented 1 month ago

@jackveney - FYI that this will become a feature via https://github.com/itflow-org/itflow/pull/1035 Default will be that docs are published to the portal.

Please feel free to contribute further via PRs or on the Forum :)