Compare commits
12 Commits
2d62160ce1
...
bac779b20d
Author | SHA1 | Date |
---|---|---|
Fabio Sinibaldi | bac779b20d | |
Fabio Sinibaldi | 409df28cc1 | |
Fabio Sinibaldi | b115c8088b | |
Fabio Sinibaldi | 9ba3559a15 | |
Fabio Sinibaldi | b8cb4e86f0 | |
Fabio Sinibaldi | ae6c5c1ea7 | |
Fabio Sinibaldi | 87df1c2f96 | |
Fabio Sinibaldi | 917587d276 | |
Fabio Sinibaldi | 6e065ed359 | |
Fabio Sinibaldi | 2f13be58e8 | |
Francesco Mangiacrapa | 99d8c9a626 | |
Francesco Mangiacrapa | 52588425d2 |
|
@ -98,43 +98,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"_dataAccessPolicies": [
|
"_dataAccessPolicies": [
|
||||||
{
|
{"_policy": {"_read": "any","_write": "any"},
|
||||||
"_policy": {
|
"_roles": ["Data-Manager"]},
|
||||||
"_read": "any",
|
{"_policy": {"_read": "own","_write": "own"},
|
||||||
"_write": "any"
|
"_roles": ["Data-Editor"]},
|
||||||
},
|
{"_policy": {"_read": "any","_write": "none"},
|
||||||
"_roles": []
|
"_roles": ["Member"],
|
||||||
},
|
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
||||||
{
|
{"_policy": {"_read": "none","_write": "none"},
|
||||||
"_policy": {
|
"_roles": []}
|
||||||
"_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": [
|
"_handlers": [
|
||||||
{
|
{
|
||||||
|
@ -330,7 +302,7 @@
|
||||||
"parentName": "$.",
|
"parentName": "$.",
|
||||||
"filePaths": [
|
"filePaths": [
|
||||||
{
|
{
|
||||||
"gcubeProfileFieldName": "Relazione di fine scavo (in PDF)",
|
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||||
"fieldName": "fileset"
|
"fieldName": "fileset"
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,43 +98,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"_dataAccessPolicies": [
|
"_dataAccessPolicies": [
|
||||||
{
|
{"_policy": {"_read": "any","_write": "any"},
|
||||||
"_policy": {
|
"_roles": ["Data-Manager"]},
|
||||||
"_read": "any",
|
{"_policy": {"_read": "own","_write": "own"},
|
||||||
"_write": "any"
|
"_roles": ["Data-Editor"]},
|
||||||
},
|
{"_policy": {"_read": "any","_write": "none"},
|
||||||
"_roles": []
|
"_roles": ["Member"],
|
||||||
},
|
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
||||||
{
|
{"_policy": {"_read": "none","_write": "none"},
|
||||||
"_policy": {
|
"_roles": []}
|
||||||
"_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": [
|
"_handlers": [
|
||||||
{
|
{
|
||||||
|
@ -330,7 +302,7 @@
|
||||||
"parentName": "$.",
|
"parentName": "$.",
|
||||||
"filePaths": [
|
"filePaths": [
|
||||||
{
|
{
|
||||||
"gcubeProfileFieldName": "Relazione di fine scavo (in PDF)",
|
"gcubeProfileFieldName": "Relazione scientifica (in PDF)",
|
||||||
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
"fieldDefinition": "$.relazioneScavo._children[?(@.fileset)]",
|
||||||
"fieldName": "fileset"
|
"fieldName": "fileset"
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@ public class GCubeTest {
|
||||||
|
|
||||||
|
|
||||||
testContext = "/pred4s/preprod/preVRE";
|
testContext = "/pred4s/preprod/preVRE";
|
||||||
|
testContext = "/pred4s/preprod/preVRE_ext";
|
||||||
// testContext = "/d4science.research-infrastructures.eu/D4OS/GNA";
|
// testContext = "/d4science.research-infrastructures.eu/D4OS/GNA";
|
||||||
// testContext= "/gcube/devsec/devVRE";
|
// testContext= "/gcube/devsec/devVRE";
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,12 @@ public class ProfiledConcessioniTests extends AbstractProfiledDocumentsTests{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testGetById() throws Exception {
|
||||||
|
assumeTrue(GCubeTest.isTestInfrastructureEnabled());
|
||||||
|
getById("63cffb238f66b84c444dae4f");
|
||||||
|
System.out.println("Done");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Changelog for org.gcube.application.cms.sdi-plugins
|
# Changelog for org.gcube.application.cms.sdi-plugins
|
||||||
|
|
||||||
## [v1.0.3-SNAPSHOT] - 2023-01-24
|
## [v1.0.3] - 2023-01-24
|
||||||
- Fixes [#24476](https://support.d4science.org/issues/24476)
|
- Fixes [#24476](https://support.d4science.org/issues/24476)
|
||||||
|
|
||||||
## [v1.0.2] - 2023-01-10
|
## [v1.0.2] - 2023-01-10
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>sdi-plugins</artifactId>
|
<artifactId>sdi-plugins</artifactId>
|
||||||
<version>1.0.3-SNAPSHOT</version>
|
<version>1.0.3</version>
|
||||||
<name>gCube CMS - SDI Plugins</name>
|
<name>gCube CMS - SDI Plugins</name>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue