diff --git a/georchestra-integration/georchestra-authnz/src/test/resources/org/georchestra/geonetwork/security/integration/defaultRoles.json b/georchestra-integration/georchestra-authnz/src/test/resources/org/georchestra/geonetwork/security/integration/defaultRoles.json index f9a60df734..01320b7edb 100644 --- a/georchestra-integration/georchestra-authnz/src/test/resources/org/georchestra/geonetwork/security/integration/defaultRoles.json +++ b/georchestra-integration/georchestra-authnz/src/test/resources/org/georchestra/geonetwork/security/integration/defaultRoles.json @@ -80,6 +80,16 @@ "testadmin" ] }, + { + "id": "2a6fb334-5b93-4b4b-9f48-f39b6a04376c", + "name": "IMPORT", + "description": "This role allows users to publish data with the importer application.", + "lastUpdated": "71fc44b07ffd0f98806894ac6d38e780e81c4c4c2831e896d63f8ac04d03f0a4", + "members": [ + "testadmin", + "idatafeeder" + ] + }, { "id": "ad243705-eeec-4d1c-aa28-abb631e23a65", "name": "USER", diff --git a/georchestra-integration/georchestra-authnz/src/test/resources/org/georchestra/geonetwork/security/integration/defaultUsers.json b/georchestra-integration/georchestra-authnz/src/test/resources/org/georchestra/geonetwork/security/integration/defaultUsers.json index 1ce2570470..037934c432 100644 --- a/georchestra-integration/georchestra-authnz/src/test/resources/org/georchestra/geonetwork/security/integration/defaultUsers.json +++ b/georchestra-integration/georchestra-authnz/src/test/resources/org/georchestra/geonetwork/security/integration/defaultUsers.json @@ -2,11 +2,12 @@ { "username": "testuser", "roles": [ - "USER" + "USER", + "IMPORT" ], "organization": "PSC", "id": "048b2f38-6ee7-4eec-9bed-349cc6eb13c3", - "lastUpdated": "f30686969d96a5a7962aec9521a97f3493e042b79302f24c15771d90b8b99c56", + "lastUpdated": "cda8f14b4203ceadbc246193005aebbb87959349cbbfe9ee3d409118669816e5", "firstName": "Test", "lastName": "USER", "email": "psc+testuser@georchestra.org", @@ -57,11 +58,12 @@ "GN_ADMIN", "USER", "MAPSTORE_ADMIN", - "EMAILPROXY" + "EMAILPROXY", + "IMPORT" ], "organization": "PSC", "id": "0c6bb556-4ee8-46f2-892d-6116e262b489", - "lastUpdated": "035cabcdc6fdd76c5d8670dbc534e6123a5d04f2a7a80dd5cad138c6eb40a895", + "lastUpdated": "9942b5348c83d8607de857f7d75ef7dfcbff699d7929d38674eb90a0bfc10ce7", "firstName": "Test", "lastName": "ADMIN", "email": "psc+testadmin@georchestra.org", @@ -73,11 +75,12 @@ { "username": "idatafeeder", "roles": [ - "GN_ADMIN" + "GN_ADMIN", + "IMPORT" ], "organization": null, "id": "ab18b654-b281-4b6d-b09c-a2a4a690216d", - "lastUpdated": "dac700ed4f2eb2185a4bc875ebdabdcdb422ffad20e29fdccabfde4589864d2e", + "lastUpdated": "c560896a13a6d9ce7b8d46eb0a7c0460e6679aefdd220442f90d68a41ce9557f", "firstName": "Datafeeder", "lastName": "Import", "email": "psc+idatafeeder@georchestra.org",