Open sbliven opened 1 year ago
@sbliven when would you need this to be implemented? It will likely need a meeting with Krisz, Pedro and Michael (and us). Could you please schedule it depending on its urgency? Thanks.
Here's an initial diagram for how the microservice I mention above might work. This "storage service" would run on the storage system and provide endpoints for the following queries:
ls
and cd
for central locations, taking user permissions into account)SciCat would also need to implement an endpoint for checking what storage systems a user has access to (looking ahead to having non-PSI users in the system)
Feature Request
We would like to add an option to retrieve datasets to merlin. Currently there is a 'PSI-ra' option when retrieving from scicat. We would like to support similar functionality for merlin and other central archiving locations.
Ra implementation
(Please edit if any of this information is incorrect)
The current PSI-ra retrieval workflow is as follows:
/das/work/<pgroup>/retrieve/<user>/<pid>
and reports successPermissions rely on ACLs to allow both the service use and the pgroup members to access the directory.
Differences to merlin
Merlin does not use DUO or pgroups. Most users use a-groups and may archive from user directories or project directories, which do not correspond 1:1 with a-groups. This means that a mechanism must be added to allow users to select a path when retrieving a dataset.
Implementation steps
The minimal implementation in the backend would require:
retrieve
directory for each project like raFront-end changes: