115 lines
3.2 KiB
JSON
115 lines
3.2 KiB
JSON
{
|
|
"id" : "profiledConcessioni",
|
|
"version" : "1.0.0",
|
|
"name" : "Concessione",
|
|
|
|
"schema" : {
|
|
"relazioneScavo" : { "_max" : 1, "_min" : 1,
|
|
"children" : [
|
|
{"fileset" :{"_type" : "RegisteredFileSet"}},
|
|
{"title" : {"_max" : 1, "_min" : 1}}
|
|
]
|
|
},
|
|
"imgs" : {
|
|
"_max" : -1,
|
|
"children" : [
|
|
{"fileset" :{"_type" : "RegisteredFileSet"}},
|
|
{"title" : {"_max" : 1, "_min" : 1}}
|
|
]
|
|
},
|
|
"posizionamentoScavo" : { "_max" : 1, "_min" : 1,
|
|
"children" : [
|
|
{"fileset" :{"_type" : "RegisteredFileSet"}},
|
|
{"title" : {"_max" : 1, "_min" : 1}}
|
|
]
|
|
}
|
|
},
|
|
|
|
|
|
"description" : "Embedded profile for concessioni [mibac] management",
|
|
"creationInfo": {
|
|
"user" : {
|
|
"username": "fabio.sinibaldi"
|
|
}
|
|
},
|
|
"data_access_policy" : [
|
|
{"policy" : {"read" : "own", "write" : "own"}, "roles":[]},
|
|
{"policy" : {"read" : "any", "write" : "none"}, "roles":["Guest"],
|
|
"enforcer": {"filter" : {"lifecycleInformation.phase" : {"$eq" : "Published"}}}},
|
|
{"policy" : {"read" : "any", "write" : "none"}, "roles":["Admin"]},
|
|
{"policy" : {"read" : "any", "write" : "any"}, "roles":["Data-Manager"]}
|
|
],
|
|
|
|
"handlers" : [
|
|
{
|
|
"id" : "GNA-CONCESSIONI-LC",
|
|
"type" : "LifecycleManagement",
|
|
"configuration" : {
|
|
"step_access" : [
|
|
{"STEP" : "PUBLISH", "roles" :[ "DataManager"]}
|
|
]
|
|
}
|
|
},
|
|
|
|
{
|
|
"id" : "SDI-Default-Materializer",
|
|
"type" : "Materializer",
|
|
"configuration" : {
|
|
"registeredFileSetPaths" : [
|
|
{"schemaField" : "pianteFineScavo","documentPath" : "pianteFineScavo[*]"},
|
|
{"schemaField" : "posizionamentoScavo","documentPath" : "posizionamentoScavo"}
|
|
]
|
|
}
|
|
},
|
|
|
|
|
|
|
|
{
|
|
"id" : "org.gcube....geoportal-data-entry-portlet",
|
|
"type" : "DATA_ENTRY_GUI",
|
|
"case" : "",
|
|
"configuration" : {
|
|
"gcubeProfiles" : [
|
|
{
|
|
"gcubeCategory" : "",
|
|
"gcubeName" : "",
|
|
"order" : "",
|
|
"sectionName": "",
|
|
"sectionTitle" : "",
|
|
"cardinality" : "",
|
|
"parentName" : "",
|
|
"filePaths" : [
|
|
{"field" : "field id from XML gcube Profile",
|
|
"path" : "$.abstract.associatedFiles" }
|
|
]
|
|
|
|
}
|
|
]
|
|
|
|
}
|
|
},
|
|
|
|
{
|
|
"id" : "org.gcube....geoportal-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"}
|
|
]}
|
|
],
|
|
"implicit_filter":{"nome" : {"$eq" : "ciao" }}
|
|
}
|
|
}
|
|
]
|
|
} |