Search Mailing List Archives
[bioontology-support] Ontology visible but not downloadable
Jennifer Leigh Vendetti
vendetti at stanford.edu
Fri Nov 18 15:10:22 PST 2016
On Nov 18, 2016, at 2:13 PM, Clement Jonquet <jonquet at lirmm.fr<mailto:jonquet at lirmm.fr>> wrote:
Could you advice VA users how to do so also, please ?
We need to do this also on our SIFR BioPortal for a few ontologies.
This line of code should be modified to include the acronyms of the ontologies for which you want to restrict downloads via the UI:
This will prevent the “Downloads” column in the Submissions table from appearing on ontology summary pages.
If you want to restrict download via the REST endpoint, you need to modify your environment configuration files (e.g., production.rb, staging.rb, etc.) in your ontologies_api project. The production.rb file should contain a “config.restrict_download” property - there’s an example of what it should look like in the sample configuration file in GitHub:
De : bioontology-support [mailto:bioontology-support-bounces at lists.stanford.edu] De la part de Jennifer Leigh Vendetti
Envoyé : jeudi 10 novembre 2016 16:57
À : Charlet Jean <jean.charlet at upmc.fr<mailto:jean.charlet at upmc.fr>>
Cc : support at bioontology.org<mailto:support at bioontology.org>
Objet : Re: [bioontology-support] Ontology visible but not downloadable
On Nov 9, 2016, at 9:59 AM, Charlet Jean <jean.charlet at upmc.fr<mailto:jean.charlet at upmc.fr>> wrote:
Du to competition between clinicians, the ONTOPSYCHIA ontology was not visible.
Now, it’s visible but I want it impossible to download (just see the class and objectPorperties and other informations… by your buttons at the top of the page).
Preventing a public ontology from being downloadable is a flag we need to set internally in our application. I’ve done that and published the change to our production site. The download links for ONTOPSYCHIA are no longer visible.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bioontology-support