AKSW / OntoWiki

Semantic data wiki as well as Linked Data publishing engine
https://ontowiki.net
204 stars 51 forks source link

Non-shared saved Queries viewable from other normal Users #369

Open shinobu opened 8 years ago

shinobu commented 8 years ago

In the Query Editor you can save queries and you have a checkbox that says "share with others". I expected that if I don't check this box, no other users can see my saved query.

the query was created on a normal account and viewed on another normal account.

Setup:

OntoWiki Develop 456a819

PHP 5.5.9-1ubuntu4.17

Virtuoso Version 07.20.3217-pthreads for Linux as of Jul 4 2016

Erfurt 8340230

shinobu commented 8 years ago

The private saved Queries function is actually turned off. Instead of checking the checkbox value extensions/queries/resources/savepartial.js sets the default to true. The reason behind this is, that the actual way to save a private query is, to create a model for the User and the extensions don't support this for now. The actual model creation was buggy and is fixed in

https://github.com/AKSW/OntoWiki/pull/392

for now this Issue is flagged feature request, as the queries and savequeries extensions need to learn how to use those user-specific knowledge bases.