seismic-dms-service issueshttps://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-service/-/issues2023-03-27T19:13:05Zhttps://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-service/-/issues/49Create new subproject request. Strange behavior of "admin" field.2023-03-27T19:13:05ZDenis Karpenok (EPAM)Create new subproject request. Strange behavior of "admin" field.Request:
`curl --location --request POST 'https://preship.osdu.club/api/seismic-store/v3/subproject/tenant/autotestTenantid977226/subproject/subprojectodi912864' \
--header 'Content-Type: application/json' \
--header 'data-partition-id:...Request:
`curl --location --request POST 'https://preship.osdu.club/api/seismic-store/v3/subproject/tenant/autotestTenantid977226/subproject/subprojectodi912864' \
--header 'Content-Type: application/json' \
--header 'data-partition-id: odesprod' \
--header 'ltag;' \
--header 'Authorization: ***' \
--data-raw '{
"admin": "preprod_tester@osdu-gcp.go3-nrg.projects.epam.com",
"storage_class": "MULTI_REGIONAL",
"storage_location": "US",
"acls": {
"admins": [
"data.sdms.autotestTenantid977226.subprojectodi912864.admin@odesprod.osdu-gcp.go3-nrg.projects.epam.com"
],
"viewers": [
"data.sdms.autotestTenantid977226.subprojectodi912864.viewer@odesprod.osdu-gcp.go3-nrg.projects.epam.com"
]
},
"legal": {
"legaltags": [
"odesprod-OpenVDS-Legal-Tag-Test4730019"
],
"otherRelevantDataCountries": [
"US"
]
}
}'`
If "admin" field is preprod_tester@osdu-gcp.go3-nrg.projects.epam.com - works well.
If "admin" field is preprod_tester@**odesprod**.osdu-gcp.go3-nrg.projects.epam.com:
400 Bad Request
[entitlement-service] Group can only be MEMBER of another group.
If "admin" field is **admin@odesprod**.osdu-gcp.go3-nrg.projects.epam.com:
`<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.
</h2>
<h2></h2>
</body>
</html>`