Updated UCDs of DEV

This commit is contained in:
Francesco Mangiacrapa 2023-03-01 14:55:25 +01:00
parent 47a4558a46
commit 0090950e9d
3 changed files with 786 additions and 691 deletions

View File

@ -98,15 +98,43 @@
}
},
"_dataAccessPolicies": [
{"_policy": {"_read": "any","_write": "any"},
"_roles": ["Data-Manager"]},
{"_policy": {"_read": "own","_write": "own"},
"_roles": ["Data-Editor"]},
{"_policy": {"_read": "any","_write": "none"},
"_roles": ["Member"],
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
{"_policy": {"_read": "none","_write": "none"},
"_roles": []}
{
"_policy": {
"_read": "any",
"_write": "any"
},
"_roles": [
"Data-Manager"
]
},
{
"_policy": {
"_read": "own",
"_write": "own"
},
"_roles": [
"Data-Editor"
]
},
{
"_policy": {
"_read": "any",
"_write": "none"
},
"_roles": [
"Member"
],
"_enforcer": {
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"
}
},
{
"_policy": {
"_read": "none",
"_write": "none"
},
"_roles": []
}
],
"_handlers": [
{
@ -136,7 +164,6 @@
"Data-Manager"
]
}
]
}
},
@ -586,8 +613,7 @@
}
]
}
}
,
},
{
"_id": "org.gcube.portlets.user.geoportal-timeline-json-template",
"_type": "TIMELINE_JSON_TEMPLATE",
@ -661,9 +687,15 @@
}
],
"_relationshipDefinitions": [
{"_id": "precedes", "_label" : "Precede",
"_reverseRelationId" : "follows"},
{"_id": "follows", "_label" : "Segue",
"_reverseRelationId" : "precedes"}
{
"_id": "precedes",
"_label": "Precede",
"_reverseRelationId": "follows"
},
{
"_id": "follows",
"_label": "Segue",
"_reverseRelationId": "precedes"
}
]
}

View File

@ -129,12 +129,6 @@
"roles": [
"Data-Manager"
]
},
{
"STEP": "UNPUBLISH",
"roles": [
"Data-Manager"
]
}
]
}
@ -643,17 +637,6 @@
"display_on_phase": [
"Pending Approval"
]
},
{
"id": "unpublish",
"title": "UnPublish",
"call_STEPS": [
"UNPUBLISH"
],
"description": "UnPublish the Project",
"display_on_phase": [
"Published"
]
}
]
}

View File

@ -5,27 +5,47 @@
"_schema": {
"fonteInformazione": {
"_children": [
{"filesetIta": {"_type": "RegisteredFileSet"}}
{
"filesetIta": {
"_type": "RegisteredFileSet"
}
}
]
},
"documentazioneScientifica": {
"_children": [
{"fileset": {"_type": "RegisteredFileSet"}}
{
"fileset": {
"_type": "RegisteredFileSet"
}
}
]
},
"immaginiRappresentative": {
"_children": [
{"fileset": {"_type": "RegisteredFileSet"}}
{
"fileset": {
"_type": "RegisteredFileSet"
}
}
]
},
"datiAltimetrici": {
"_children": [
{"fileset": {"_type": "RegisteredFileSet"}}
{
"fileset": {
"_type": "RegisteredFileSet"
}
}
]
},
"planimetria": {
"_children": [
{"fileset": {"_type": "RegisteredFileSet"}}
{
"fileset": {
"_type": "RegisteredFileSet"
}
}
]
}
},
@ -36,15 +56,43 @@
}
},
"_dataAccessPolicies": [
{"_policy": {"_read": "any","_write": "any"},
"_roles": ["Data-Manager"]},
{"_policy": {"_read": "own","_write": "own"},
"_roles": ["Data-Editor"]},
{"_policy": {"_read": "any","_write": "none"},
"_roles": ["Member"],
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"PUBLISHED\"}}"}},
{"_policy": {"_read": "none","_write": "none"},
"_roles": []}
{
"_policy": {
"_read": "any",
"_write": "any"
},
"_roles": [
"Data-Manager"
]
},
{
"_policy": {
"_read": "own",
"_write": "own"
},
"_roles": [
"Data-Editor"
]
},
{
"_policy": {
"_read": "any",
"_write": "none"
},
"_roles": [
"Member"
],
"_enforcer": {
"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"PUBLISHED\"}}"
}
},
{
"_policy": {
"_read": "none",
"_write": "none"
},
"_roles": []
}
],
"_handlers": [
{
@ -54,7 +102,16 @@
"step_access": [
{
"STEP": "PUBLISH",
"roles": ["Data-Manager","Data-Editor"]
"roles": [
"Data-Manager",
"Data-Editor"
]
},
{
"STEP": "UNPUBLISH",
"roles": [
"Data-Manager"
]
}
]
}
@ -427,8 +484,7 @@
}
]
}
}
,
},
{
"_id": "org.gcube.portlets.user.geoportal-workflow-action-list",
"_type": "WORKFLOW_ACTION_LIST_GUI",
@ -437,7 +493,9 @@
{
"id": "post_creation_action",
"title": "Post Creation Action",
"call_STEPS": ["PUBLISH"],
"call_STEPS": [
"PUBLISH"
],
"description": "Action fired after the Project creation",
"display_on_phase": []
},
@ -473,6 +531,28 @@
"display_on_phase": [
"Pending Approval"
]
},
{
"id": "unpublish",
"title": "UnPublish",
"call_STEPS": [
"UNPUBLISH"
],
"description": "UnPublish the Project",
"display_on_phase": [
"Published"
]
},
{
"id": "unpublish",
"title": "UnPublish",
"call_STEPS": [
"UNPUBLISH"
],
"description": "UnPublish the Project",
"display_on_phase": [
"PUBLISHED"
]
}
]
}