-
Type: Improvement
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 10.3-SNAPSHOT
-
Component/s: CSV Importer, Web UI
-
Tags:
-
Sprint:nxfit 11.1.9, nxfit 11.1.10
-
Story Points:5
Non-administrators cannot import documents with CSV import, but the feature is still available and no messaging provided indicating why it doesn't work.
Steps to reproduce:
- Log in as a non-administrator.
- Navigate to a folder and click on the Add Content button.
- Click on the CSV tab and upload the attached csv file (attached).
- Activate import mode (click on the toggle that says Apply Date, Author and Dublin Core properties)
- Click on the Create button.
=> Import fails with error message:Line 2
ERROR
Unable to import document
Line 3
ERROR
Unable to import document
Error in server log:
2018-12-07T16:56:57,570 ERROR [Nuxeo-Work-csvImporter-1:default:/domain-4/workspaces/workspace-4/csv-folder-4:csvImport:60f4c43c1f3a87760cefa795fbbd79fd] [org.nuxeo.ecm.csv.core.CSVImporterWork] Line 2: Unable to create document: Only Administrator can import 2018-12-07T16:56:57,571 ERROR [Nuxeo-Work-csvImporter-1:default:/domain-4/workspaces/workspace-4/csv-folder-4:csvImport:60f4c43c1f3a87760cefa795fbbd79fd] [org.nuxeo.ecm.csv.core.CSVImporterWork] Line 3: Unable to create document: Only Administrator can import
Either:
- non-administrators should not have access to import mode
OR - a more specific error message should appear indicating WHY the import was unsuccessful
- depends on
-
ELEMENTS-946 Avoid duplication code for checking Administrator permissions
- Resolved
- is duplicated by
-
NXP-27232 The "Apply Date, Author and Dublin Core properties." should only be available to Administrators
- Resolved