-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.10
-
Component/s: File Upload
-
Tags:
We want a way to configure the list of blob providers for which the Web UI prevents the user from updating the file. Ways to update a file include:
- the file widget,
- the drag'ndrop on the summary file widget,
- the drag'n drop in a folder (if the name is the same than the name of a blob stored in a child document, the file updates the file property of that document),
- Nuxeo Drive synchronization.
To disable updates for a given blob provider, in the <blobprovider> definition add the following property:
<property name="preventUserUpdate">true</property>
For instance you could have:
<extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration"> <blobprovider name="googledrive"> <class>org.nuxeo.ecm.liveconnect.google.drive.GoogleDriveBlobProvider</class> <property name="preventUserUpdate">true</property> </blobprovider> </extension>
The Google Drive and Dropbox blob providers don't prevent user updates by default. But the Filesystem blob provider does prevent updates by default.