merged with master branch

This commit is contained in:
Francesco Mangiacrapa 2023-03-01 14:40:30 +01:00
parent eab6a27c76
commit 0edc6c6f1f
2 changed files with 803 additions and 673 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": [
{
@ -129,6 +157,12 @@
"roles": [
"Data-Manager"
]
},
{
"STEP": "UNPUBLISH",
"roles": [
"Data-Manager"
]
}
]
}
@ -488,7 +522,7 @@
}
]
}
},
},
{
"_id": "org.gcube.portlets.user.geoportal-basic-data-list",
"_type": "BASIC_DATA_LIST_GUI",
@ -579,8 +613,7 @@
}
]
}
}
,
},
{
"_id": "org.gcube.portlets.user.geoportal-timeline-json-template",
"_type": "TIMELINE_JSON_TEMPLATE",
@ -637,15 +670,32 @@
"display_on_phase": [
"Pending Approval"
]
},
{
"id": "unpublish",
"title": "UnPublish",
"call_STEPS": [
"UNPUBLISH"
],
"description": "UnPublish the Project",
"display_on_phase": [
"Published"
]
}
]
}
}
],
"_relationshipDefinitions" : [
{"_id": "precedes", "_label" : "Precede",
"_reverseRelationId" : "follows"},
{"_id": "follows", "_label" : "Segue",
"_reverseRelationId" : "precedes"}
"_relationshipDefinitions": [
{
"_id": "precedes",
"_label": "Precede",
"_reverseRelationId": "follows"
},
{
"_id": "follows",
"_label": "Segue",
"_reverseRelationId": "precedes"
}
]
}

View File

@ -3,29 +3,49 @@
"_version": "1.0.0",
"_name": "Esquilino",
"_schema": {
"fonteInformazione" :{
"fonteInformazione": {
"_children": [
{"filesetIta": {"_type": "RegisteredFileSet"}}
{
"filesetIta": {
"_type": "RegisteredFileSet"
}
}
]
},
"documentazioneScientifica" :{
"documentazioneScientifica": {
"_children": [
{"fileset": {"_type": "RegisteredFileSet"}}
{
"fileset": {
"_type": "RegisteredFileSet"
}
}
]
},
"immaginiRappresentative" :{
"immaginiRappresentative": {
"_children": [
{"fileset": {"_type": "RegisteredFileSet"}}
{
"fileset": {
"_type": "RegisteredFileSet"
}
}
]
},
"datiAltimetrici" :{
"datiAltimetrici": {
"_children": [
{"fileset": {"_type": "RegisteredFileSet"}}
{
"fileset": {
"_type": "RegisteredFileSet"
}
}
]
},
"planimetria" :{
"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"
]
}
]
}
@ -231,7 +288,7 @@
],
"saveStep": ""
}
},
},
{
"_id": "org.gcube.portlets.user.geoportal-data-list",
"_type": "DATA_LIST_GUI",
@ -349,7 +406,7 @@
}
]
}
},
},
{
"_id": "org.gcube.portlets.user.geoportal-data-list",
"_type": "BASIC_DATA_LIST_GUI",
@ -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,9 +531,31 @@
"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"
]
}
]
}
}
]
}
]
}