Skip to content

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

@brianjlowe

Description

@brianjlowe

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions