01-18-2018 10:30 AM
I wish to use Nuxeo Drive for online editing purpose only. One way is to use ndrive in pause mode by suspending synchro.
/>
But I can't see "pause" command option when lauching ndrive .... Is this the right way ?
NB : I could see in manager.py that ndrive starts in pause mode only if debug log option is enable.
/>
Thanks for any suggestion.
Henri
01-18-2018 12:37 PM
Bonjour Henri,
we have had the same kind of problem and solved it server side by filtering some actions (such as synchronize) according to the membership of the current user to a dedicated group. By default, users cannot use Nuxeo Drive, some can only edit online and others can synchronize folderish documents.
01-19-2018 12:14 PM
Thanks Pibou ! This is actually a solution. I changed filters like this, but nothing changed :
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="filters">
<filter id="can_drive_edit">
<rule grant="true">
<condition>#{nuxeoDriveActions.canEditDocument(document)}</condition>
<condition>#{currentUser.isMemberOf('membersEdit')}</condition>
</rule>
<rule grant="false">
<facet>Collection</facet>
</rule>
</filter>
<filter id="can_sync_current_doc">
<rule grant="false">
<type>Domain</type>
<type>SectionRoot</type>
<type>TemplateRoot</type>
<type>WorkspaceRoot</type>
<type>Forum</type>
<type>Collections</type>
</rule>
<rule grant="true">
<condition>#{canSynchronizeCurrentDocument}</condition>
<condition>#{currentUser.isMemberOf('membersSynchro')}</condition>
</rule>
</filter>
</extension>
Any idea ? Henri
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.