Nuxeo drive sync
Hello,
Is it possible to activate the Nuxeo drive synchronization of all the workspaces for all users who have access right per default?
Thanks for your time.
Hello,
Technically yes that would be possible using the NuxeoDrive API:
NuxeoDriveManager#registerSynchronizationRoot
NuxeoDriveManager#unregisterSynchronizationRoot
and an NXQL query for each user (loop on the “userDirectory”) returning their accessible workspaces.
You would also have to implemeent a listener on security update events to register/unregister workspaces for which a user would be granted / denied the Read permission.
Yet, we don't recommand such a behaviour as it would mean potentially a lot of synchronization roots, therefore a big load for the server and the Nuxeo Drive instances.
Please note that the main purpose of Nuxeo Drive is to allow synchronization between a file system and some mount points of a Nuxeo repository for a given set of users. Nuxeo Drive is neither a bulk import tool, nor a repository backup / synchronization tool.
Hope this helps.
Thanks for your reply it helps a lot.
My purpose was to archive documents (paper) directly from the scanner (pdf) to Nuxeo. I found this http://www.nuxeo.com/fr/media-center/alliance-technologique-nuxeo-et-ephesoft-integrent-la-capture-de-document-intelligente-aux-solutions-de-gestion-de-contenu-et-de-dossier/ and i'll explore this way instead.