zazuko / cube-creator

A tool to create RDF cubes from CSV files
GNU Affero General Public License v3.0
11 stars 2 forks source link

Access denied on shared dimensions #1498

Open JurekMueller opened 3 months ago

JurekMueller commented 3 months ago

The link to the resource of an entry in a shared dimension seems to behave differently if it is read-only and if it is not. grafik

tpluscode commented 2 months ago

Thank you for reporting.

Of course, that button should lead to LINDAS, as is the case of external (read-only) dimensions. In this case it should be https://ld.admin.ch/cube/dimension/forest-zone-01/gr05 and not a URL from Cube Creator

giacomociti commented 2 months ago

I'm troubleshooting this issue and, so far, I noticed only that the issue happens when here we lack the canonical value

giacomociti commented 4 weeks ago

commit https://github.com/zazuko/cube-creator/commit/3d8cbec66c98d3f46d3b0847949634ca94f3293c fixes the issue for terms already saved (coming from the API). When a new term is created, the wrong URI is still shown, so there's still something to fix

tpluscode commented 3 weeks ago

Right, when a term is created the oa:canonical was not present at all. Added that to the POST handler