diff --git a/test-data/profiledDocuments/profiles/Concessioni.json b/test-data/profiledDocuments/profiles/Concessioni.json index aa92a3c..13b14fb 100644 --- a/test-data/profiledDocuments/profiles/Concessioni.json +++ b/test-data/profiledDocuments/profiles/Concessioni.json @@ -47,7 +47,7 @@ }, "_dataAccessPolicies" : [ - {"_policy" : {"_read" : "own", "_write" : "own"}, "_roles":[]}, + {"_policy" : {"_read" : "any", "_write" : "any"}, "_roles":[]}, {"_policy" : {"_read" : "any", "_write" : "none"}, "_roles":["Guest"], "_enforcer": {"_filter" : "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}}, {"_policy" : {"_read" : "any", "_write" : "none"}, "_roles":["Admin"]}, @@ -147,7 +147,7 @@ "sectionTitle": "Immagini Rappresentative", "minOccurs": 1, "maxOccurs": 8, - "parentName": "", + "parentName": "$.", "filePaths": [ { "gcubeProfileFieldName": "Immagine", @@ -191,27 +191,109 @@ } }, - { - "_id" : "org.gcubegeoportal-data-list", - "_type" : "DATA_LIST_GUI", - "_case" : "smallList", - "_configuration" : { - "projection" : "{\"nome\" : 1, \"lifecycleInformation.phase\" : 1}", - "orderPaths":[ - {"label" : "author", "path" : "info.creationInfo.user.username"}], - "searchPaths":[ - {"label" : "author", "path" : "info.creationInfo.user.username"}], - "actions" :[ - { "status" : "OK", - "phase" : "VALIDATE_DRAFT", - "butoonsDefintion" : [ - {"id" : "report_forward","action" : "STEP", "label" : "Sottometti"}, - {"id" : "list_back_workflow", "action" : "STEP" , "label" : "Rifiuta"}, - {"id" : "report_backward", "action" : "STEP" , "label" : "Rifiuta"} - ]} + { + "_id": "org.gcube.portlets.user.geoportal-data-list", + "_type": "DATA_LIST_GUI", + "_configuration": { + "projection": "{\"_theDocument\" : 1, \"lifecycleInformation.phase\" : 1}", + "itemFields": [ + { + "label": "Name", + "paths": [ + "_theDocument.nome" ], - "implicit_filter":"{\"nome\" : {\"$eq\" : \"ciao\" }}" + "operator": "$and", + "searchable": true, + "sortable": true, + "asResult": true + }, + { + "label": "Introduction", + "paths": [ + "_theDocument.introduzione" + ], + "operator": "$and", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Author/s", + "paths": [ + "_theDocument.authors" + ], + "operator": "$and", + "searchable": false, + "sortable": true, + "asResult": true + }, + { + "label": "Project Start", + "paths": [ + "_theDocument.dataInizioProgetto" + ], + "operator": "$and", + "searchable": false, + "sortable": true, + "asResult": true + }, + { + "label": "Director/Staff", + "paths": [ + "_theDocument.authors", + "_theDocument.contributore", + "_theDocument.titolari", + "_theDocument.editore", + "_theDocument.responsabile" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Keywords", + "paths": [ + "_theDocument.paroleChiaveLibere", + "_theDocument.paroleChiaveICCD" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": true + }, + { + "label": "Creator", + "paths": [ + "_info._creationInfo._user._username" + ], + "operator": "$or", + "searchable": true, + "sortable": false, + "asResult": false + }, + { + "label": "Phase", + "paths": [ + "_lifecycleInformation._phase" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false + }, + { + "label": "Status", + "paths": [ + "_lifecycleInformation._lastOperationStatus" + ], + "operator": "$or", + "searchable": true, + "sortable": true, + "asResult": false } - } + ] + } +} ] } \ No newline at end of file