cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo drive sync

Yannick_
Champ in-the-making
Champ in-the-making

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.

1 ACCEPTED ANSWER

ataillefer_
Star Contributor
Star Contributor

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.

View answer in original post

2 REPLIES 2

ataillefer_
Star Contributor
Star Contributor

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.

Yannick_
Champ in-the-making
Champ in-the-making

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-d... and i'll explore this way instead.