Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No public linked data is published in 1.15.0 because "publish" permission is disabled for all properties #4030

Open
brianjlowe opened this issue Dec 11, 2024 · 0 comments · May be fixed by vivo-project/Vitro#482
Assignees

Comments

@brianjlowe
Copy link
Member

brianjlowe commented Dec 11, 2024

Describe the bug
In a 1.15.0 installation, the public "publish" permission seems to have been removed from all properties and it cannot be added through the GUI because the option is grayed out. This means that all public linked data requests result in empty documents. In the past, the "publish" permission was generally more liberal than the the "display" permission because raw BFO properties like "bearer of" should be included in the linked data even if they are not displayed on the profile page.

To Reproduce

  1. From the backend editor, open a property or faux property. Note that the "Public" checkbox for "Publish permissions..." is grayed out.
  2. Go to a populated profile page. Click the chain-link icon under the profile picture to get the URL to "view profile in RDF format". Note that the RDF contains various statements about the individual.
  3. Copy the same RDF URL into an incognito (unauthenticated) browser window. Note that all of the properties are absent, resulting in a short document e.g.:
<foaf:Document rdf:about="http://N.N.N.N/individual/researcher-XXXX-X-XXXXXXXX/researcher-XXXX-X-XXXXXXXX.rdf">
    <dc:rights rdf:resource="https://vivo.rcmar.org/termsOfUse"/>
    <dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
    >2024-12-11T22:56:36</dc:date>
    <dc:publisher rdf:resource="https://vivo.XXXXX.org"/>
    <rdfs:label>RDF description of https://vivo.XXXXX.org/individual/researcher-XXXX-X-XXXXXXXX</rdfs:label>
  </foaf:Document>

Expected behavior
Most publicly-displayed properties should also be published in linked data to the public by default, and the user should have the ability to change this setting via the GUI.

Screenshots
Screenshot 2024-12-11 at 18 00 55

Environment (please complete the following information):

  • OS: Ubuntu 24.04
  • Browser [e.g. chrome, safari]
  • Tomcat version 9.0.91
  • VIVO version 1.15.0
  • Apache Solr 7.4.0
@brianjlowe brianjlowe changed the title No linked data is published in 1.15.0 because "publish" permission is disabled for all properties No public linked data is published in 1.15.0 because "publish" permission is disabled for all properties Dec 11, 2024
@litvinovg litvinovg linked a pull request Dec 12, 2024 that will close this issue
@litvinovg litvinovg self-assigned this Dec 12, 2024
@chenejac chenejac linked a pull request Dec 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants