Overview
Transfer Ownership allows you to transfer a Platform object to a teammate. As the new owner of the object, your teammate will have manage permission on the object and, where applicable, become the job runner and be included on success and failure notifications. When transferring an object, you have the option to share dependencies as well. For example, if a script has a custom credential parameter, you can share the credential with the new owner as well to ensure they can run the script successfully.
All objects are transferable via the API, for ex:jobs,notebooks,workflows. You can transfer scripts, credentials, reports, notebooks, and projects in the UI by clicking “Transfer Ownership” in the standard action menu. By default, all dependencies will be shared when possible if a transfer is executed from the UI.
Transfer Requirements
In order to successfully transfer an object to a new owner, a user must have all of the following permissions:
- Must be current object owner OR have manage permission on the current object owner
- Manage permission on the object
- Manage permission on the target user
The target user will receive manage permissions on dependencies if the user executing the transfer has permissions to share the dependent object.
Dependencies
When transferring ownership of an object, you can also share dependencies the object might have with the target user. You can usedependency endpoints to read dependencies and determine whether or not to include them in the transfer. By default, all dependencies will be shared when possible if a transfer is executed from the UI.
Possible dependencies include Credentials, and Remote Hosts. When transferring ownership of a project, dependencies include any object that can be added to a project, such as Jobs, Scripts, and Notebooks and Services.
Permissions for Sharing Dependencies
In order for dependencies to be shared with the target user, it is required that the user who is requesting the Transfer Ownership of an object and sharing dependent objects (whether through the API or the UI) be able to share the dependent object. To do so, the requesting user must either be the owner of the dependent object, or have manage permissions on the dependent object. Dependencies which the requesting user does not have manage permission on will be skipped, allowing the rest of the transfer process to proceed.
Troubleshooting
Below are some common errors/blockers that you might encounter when attempting to transfer ownership of an object and how to resolve them.
Common Issues/ Errors |
Resolution / Workaround |
Reason |
Transfer failed: Sharing failed: Cannot modify an archived object |
Unarchive the object first before retrying |
|
Validation failed: From template User (ID: user_id) does not have read permission on template script (ID: ts_id) |
Grant the target user “read” permission on the template script with ID ts_id. |
To run a custom script, it is required that the target user has read access on the custom script’s template script. Attempting to transfer ownership of a custom script to a user who does not have read access on the associated template script will fail. When dependencies are included, Platform will attempt to share the template script automatically. If this error occurs, you may not be able to share the template yourself. To resolve this issue, please reach out to a manager of the template script and request that they grant read access on it to the target user. |
Transfer failed. No credential exists for target user user_name on the Remote Host (Source|Destination) 'rh_name' (ID: rh_id) |
Share an existing credential or create a new one for the remote host rh_id for the target user |
Imports require that the target user has a credential for both the Source and Destination Remote Hosts associated with the Import. Platform goes through the following checks to find a suitable credential for the target user before raising an error.
|
Cannot find the desired target user in the Transfer Ownership drop down. |
If you need to transfer an object to another user in your organization whom you do not have manage permission over, then you can ask one of your Organization Admins to transfer the object for you.
|
Must have manage permission over the user you are transferring ownership to. |
No option is shown in the UI to transfer object |
Only certain types of objects can be transferred through the UI, these types are:
|
Bulk transfers can be performed programmatically via the API, or CS may be able to assist if you have a large number of objects to move. Please note: Only scheduled jobs can be transferred in bulk. |
Comments
0 comments
Article is closed for comments.