Rhino FCP allows you to securely publish code objects and code runs so that they are visible to selected collaborators. You can control which versions to publish or unpublish. You can also manage collaborator permissions. Publishing different versions aids model training and refinement, allows version control, and supports development of variations for specific purposes.
Collaborators with access to a dataset using a published code object and initiating the code run can view inference results. This maintains security and privacy while still allowing result sharing.
About Publishing and Unpublishing
Publishing makes Code Objects and Code Runs visible to all collaborators who have the appropriate permissions.
- Code Objects: When you unpublish a Code Object, it will stop being visible to all users without the “View Code Objects and Code Runs” permission, and all published Code Runs for this Code Object will be unpublished. You can publish and unpublish different versions of the code object.
- Code Runs: When you publish a code run version, it also publishes the associated code object version, if it’s unpublished. This ensures that the information about the code object such as the name, version, inputs/outputs, etc. are available to the user when interacting with the code run. Unpublishing hides the code run from collaborators. When you unpublish a code run, it will stop being visible to all users without the “View Code Objects and Code Runs” permission. You can publish and unpublish different versions of the code run.
Prerequisites
Ensure that the View Code Objects and Code Runs permission is set appropriately. For more details, see the Permissions documentation (View Code Objects and Code Runs Setting).
Code Objects
The following instructions explain how to publish and unpublish a code object.
Publishing a Code Object
To publish a code object, do the following.
- Select Code from the menu on the left side of the screen.
- Right-click the three-dot menu next to the code object you want to publish, then select Publish code object.
- A message appears asking whether you would like to publish the code object. If you want to unpublish all previous versions of the code object, click the “Unpublish any previously published versions of this code object” checkbox.
Note: If you choose to unpublish a Code Object, it will stop being visible to all users without the “View Code Objects and Code Runs” permission, and all published Code Runs for this Code Object will be unpublished. This is to ensure that the information about the Code Object (e.g. name, version, inputs/outputs, etc.) are available to the user when interacting with the Code Run.
- Select Publish Code Object. The code object is published and can be viewed by collaborators with the appropriate permissions.
- If you publish a Code Object/Run version, you can choose to automatically unpublish all previously published versions of the same Code Object/Run.
- When you unpublish a Code Run, this Code Run will stop being visible to all users who do not have the “View Code Objects and Code Runs” permission.
- When unpublishing a Code Object, it will stop being visible to all users without the “View Code Objects and Code Runs” permission, and all published Code Runs for this Code Object will be unpublished. This is in order to ensure that the information about the Code Object (e.g. name, version, inputs/outputs, etc.) are available to the user when interacting with the Code Run.
Unpublishing a Code Object
To unpublish a code object, complete the following steps.
- Select Code from the menu on the left side of the screen.
- Right-click the three-dot menu next to a code object that has a highlighted publish icon.
- Select Unpublish code object. A prompt that confirms that you want to unpublish the code object opens.
- Select Unpublish Code Object.
Code Runs
The following instructions explain how to publish and unpublish a code run.
Publishing a Code Run
To publish a code run, do the following.
- Select Code Runs from the menu on the left side of the screen.
- Right-click the three-dot menu next to the code run you want to and select Publish code run.
- A message appears asking whether you would like to publish the code run. Select Publish Code Run. If you want to unpublish all previous versions of the code object, click the “Unpublish any previously published versions of this code object” checkbox.
Note: If you choose to unpublish a Code Run, it will stop being visible to all users without the “View Code Objects and Code Runs” permission.
- Select Publish Code Object to publish the selected code run.
Note: If the Code Object belongs to a different workgroup than the Code Run, and that Code Object is unpublished and the Code Object’s workgroup has “View Code Object/Run” permissions that don’t provide full visibility, then publishing the Code Run will return an error message stating that the Code Object for the Code Run isn’t published. If this happens, ask someone who is part of the Code Object’s primary workgroup to publish it.
Unpublishing a Code Run
To unpublish a code run, complete the following steps.
- Select Code Runs from the menu on the left side of the screen.
- Right-click the three-dot menu next to a code run that has a highlighted publish icon. Select Unpublish code run.
- A prompt that confirms that you want to unpublish the code run opens. Select Unpublish Code Run.