{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"User Management","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"user-management","__idx":0},"children":["User Management"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To be able to upload, download and manage datasets in a seismic store subproject a user must be added/authorized in the subproject as admin or viewer. Only users with the role of subproject.admin are authorized to onboard users in a subproject."," ","A user with read/write access in a subproject resource is authorized to read/write any datasets inside the subproject. Authorizations and user data access in seismic store are scoped at the subproject level. For example, a user can have read/write access to a subproject_01, read-only access to a subproject_02, and no access to a subproject_03."," ","List of available roles in seismic store:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Role"},"children":["Role"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Authorization"},"children":["Authorization"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Associated Entitlement Group Name"},"children":["Associated Entitlement Group Name"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["subproject.admin"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["read/write access and users management in the subproject"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["seistore.service.{tenant-name}.{subproject-name}.admin"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["subproject.viewer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["read only access in the subproject"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["seistore.service.{tenant-name}.{subproject-name}.viewer"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"add-a-user-as-admin-to-a-subproject","__idx":1},"children":["Add a user as admin to a subproject"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required Role"]},": subproject.admin"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": add a registered user in a seismic store subproject resource with the role of admin"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Notes"]},": the user must be a member of the data partition users group (registered user)"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# seistore users API call\ncurl -s -X PUT \\\"https://HOST/seistore-svc/api/v3/user\\\" \\\\\n    -H \\\"accept: application/json\\\" \\\\\n    -H \\\"Content-Type: application/json\\\" \\\\\n    -H \\\"Authorization: Bearer STOKEN\\\" \\\\\n    -d \\\" { \\\\\\\"email\\\\\\\": \\\\\\\"SUBPROJECT_USER_ADMIN\\\\\\\", \\\\\\\"path\\\\\\\": \\\\\\\"sd://TENANT_NAME/SUBPROJECT_NAME\\\\\\\", \\\\\\\"group\\\\\\\": \\\\\\\"admin\\\\\\\" } \\\"\n\n# this api returns an empty response\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"add-a-user-as-viewer-to-a-subproject","__idx":2},"children":["Add a user as viewer to a subproject"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required Role"]},": subproject.admin"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": add a registered user in a seismic store subproject resource with the role of the viewer"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Notes"]},": the user must be a member of the data partition users group (registered user)"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# seistore users API call\ncurl -s -X PUT \\\"https://HOST/seistore-svc/api/v3/user\\\" \\\\\n    -H \\\"accept: application/json\\\" \\\\\n    -H \\\"Content-Type: application/json\\\" \\\\\n    -H \\\"Authorization: Bearer STOKEN\\\" \\\\\n    -d \\\" { \\\\\\\"email\\\\\\\": \\\\\\\"SUBPROJECT_USER_VIEWER\\\\\\\", \\\\\\\"path\\\\\\\": \\\\\\\"sd://TENANT_NAME/SUBPROJECT_NAME\\\\\\\", \\\\\\\"group\\\\\\\": \\\\\\\"viewer\\\\\\\" } \\\"\n\n# this api returns an empty response\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"remove-a-user-from-a-subproject","__idx":3},"children":["Remove a user from a subproject"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required Role"]},": subproject.admin"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": delete a user in a seismic store subproject resource"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# seistore users API call\ncurl -s -X DELETE \\\"https://HOST/seistore-svc/api/v3/user\\\" \\\\\n    -H \\\"accept: application/json\\\" \\\\\n    -H \\\"Authorization: Bearer STOKEN\\\" \\\\\n    -d \\\" { \\\\\\\"email\\\\\\\": \\\\\\\"SUBPROJECT_USER_VIEWER\\\\\\\", \\\\\\\"path\\\\\\\": \\\\\\\"sd://TENANT_NAME/SUBPROJECT_NAME\\\\\\\" } \\\"\n\n# this api returns an empty response\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"list-users-in-a-subproject","__idx":4},"children":["List users in a subproject"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required Role"]},": subproject.admin"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": list users in a seismic store subproject resource"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# seistore users API call\ncurl -s -X GET \\\"https://HOST/seistore-svc/api/v3/user?sdpath=sd://TENANT_NAME/SUBPROJECT_NAME\\\" \\\\\n    -H \\\"accept: application/json\\\" \\\\\n    -H \\\"Authorization: Bearer STOKEN\\\" \\\\\n    -d \\\" { \\\\\\\"email\\\\\\\": \\\\\\\"SUBPROJECT_USER_VIEWER\\\\\\\", \\\\\\\"path\\\\\\\": \\\\\\\"sd://TENANT_NAME/SUBPROJECT_NAME\\\\\\\" } \\\"\n\n# API response\n[\n    [\n        \\\"testUserSeistoreAdmin@company.com\\\",\n        \\\"admin\\\"\n    ]\n]\n","lang":"bash"},"children":[]}]},"headings":[{"value":"User Management","id":"user-management","depth":1},{"value":"Add a user as admin to a subproject","id":"add-a-user-as-admin-to-a-subproject","depth":2},{"value":"Add a user as viewer to a subproject","id":"add-a-user-as-viewer-to-a-subproject","depth":2},{"value":"Remove a user from a subproject","id":"remove-a-user-from-a-subproject","depth":2},{"value":"List users in a subproject","id":"list-users-in-a-subproject","depth":2}],"frontmatter":{"seo":{"title":"User Management"}},"lastModified":"2025-04-08T20:08:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/seismic-dms/tutorial/user_management","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}