4. Edit or revoke assets
Guide on how to edit or revoke data and services in AgrospAI.
Edit a dataset or an algorithm
To edit an asset that you have already published on the AgrospAI portal, you must first access your profile. In the upper right part of the page, you will find the user menu; hover over it and select the “View profile” option.
Fig. 9. Access to the user profile from the AgrospAI marketplace (source: https://portal.agrospai.udl.cat)
Once inside the profile, a list of all the assets you have published will appear, including both datasets and data processing services or algorithms. Find the asset you wish to modify and click on it to access its detailed page.
It is important to ensure that you are connected to the same network where the asset you wish to edit was published (e.g., Pontus-X Testnet).
In the lower right part of the asset's page, below the area where it could normally be acquired, you will find the “Edit Resource” button. Click on it to access the asset's editing panel.
Fig. 10. Access to the editing panel of a previously published asset. (source: https://portal.agrospai.udl.cat)
In the case of datasets, you will be able to make two main types of modifications:
-
Edit metadata: you will be able to modify all the information previously defined during the asset's publication, including: title, description, price, file, sample file, access time...
-
Edit compute settings: from this section, you will be able to select or update the algorithms that can be executed on your dataset. This allows you to control which services or models can access the dataset for analysis or processing tasks.
In the case of algorithms or services, only metadata editing will be possible.
Once the corresponding changes have been made, click the “Submit” button to save the modifications. After a few moments, the changes will automatically be reflected on the portal.
Revoke a dataset or an algorithm
To revoke an asset, you must access the asset's editing panel. If you don't remember how to get there, refer to the previous section on Edit a dataset or an algorithm.
Once inside the asset's editing panel and in the metadata editing section, follow these steps:
- Locate the Asset Status field, which will currently appear with the value Active.
- Open the corresponding dropdown and select the Revoked by editor option.
- Verify that the rest of the fields remain correct.
- Click the Submit button to save the changes and apply the revocation.
Fig. 11. Dropdown to modify the asset's status. (source: https://portal.agrospai.udl.cat)
Once these steps have been completed, the asset will be revoked, meaning it will no longer be available in the marketplace for purchase or execution.
Can it be reverted? If in the future you wish to reactivate the asset, simply repeat the previous process and change the status from Revoked by editor to Active, saving again with Submit.
Access and usage policies
To change access and usage policies, i.e., choose which users can use your assets and on which algorithms they can be executed, you must access the asset's editing panel. If you don't remember how to get there, refer to the previous section on Edit a dataset or an algorithm.
In the editing panel, we can define the lists of users who are allowed or prohibited from using our asset as seen in Fig. 12 and as we did at the time of publication.
Fig. 12. Definition of allowed and denied accounts for asset consumption during editing (source: https://portal.agrospai.udl.cat)
In addition to the users who can use them, if our asset is a dataset with "compute" consumption, we can define the algorithms with which it can be executed. While in the same editing panel, we can go to the "EDIT COMPUTE SETTINGS" section and individually select the algorithms as in Fig. 13.
Fig. 13. Definition of allowed algorithms for a dataset for compute consumption (source: https://portal.agrospai.udl.cat)
🎥 If you prefer, you can follow this step-by-step video guide.