WARNING: Please ensure you have a valid backup before following the steps outlined below.
Use-case: A SImA user account is being deactivated and deleted, but the user's data needs to stay accessible to other group members.
SImA (v1.3 +) allows data ownership reassignment between user accounts via the change_owner
Datastore API endpoint, accessible through the Swagger interface.
Workflow to reassign ownership:
-
Authenticate: Connect and authenticate against the Datastore API Swagger interface. Refer to the knowledge article: Signals Image Artist: Accessing the Datastore API Swagger interface
-
Navigate: Go to the
PUT /change_owner/{old_owner_id}/{new_owner_id}
endpoint, then click "Try it out". -
Execute: Enter the
old_owner_id
(current owner) and thenew_owner_id
(new owner), then click "Execute".
All datasets belonging to the old_owner_id
will be reassigned to the new_owner_id
. It may take a few moments for the changes to reflect in the SImA web interface.
Note: Result files, Analysis files, Assay Definition files, and other types of annotations will retain the old owner information. Their visibility/accessibility in the SImA web interface is defined by the parent resource (screen/plate/measurement) which should now use the new_owner_id
.
Limitations: Selective reassignment of individual datasets is not currently supported.
Identifying the owner ID:
The owner ID is found in the SImA web interface under the User Info table. Log in is as the SImA admin, select a user from the data tree, and the User Info table will display the "ID" (owner ID).