CENDARI / editorsnotes

Note-taking environment for the CE
GNU Affero General Public License v3.0
2 stars 0 forks source link

Faceted Search Results: Administrator sees Repository results, but regular user does not [JIRA CVRE-230] #231

Open ghost opened 8 years ago

ghost commented 8 years ago

In the faceted search, user with administrator privileges sees all results coming from application "repository" and "archives". However, regular user does not see them.

Last Email communication on topic with subject "Indexing before the launch"

reported by NatasaBulatovic on 2016-01-07T11:40:11.087+0100

ghost commented 8 years ago

there's a bug in litef. Last week, I could read the public dataspaces using: curl -H 'Authorization: null' http://localhost:42042/v1/dataspaces/ on pro1

Today, It returns nothing. When I don't have public groups, I cannot find public entries.

Jean-DanielFekete on 2016-01-10T20:46:30.433+0100

ghost commented 8 years ago

sorry, when did you realized this behavior? please do not close this ticket if the bug is not solved.

NatasaBulatovic on 2016-01-10T20:50:48.737+0100

ghost commented 8 years ago

I just tested with authorization "null" and i got a list of many dataspaces

NatasaBulatovic on 2016-01-10T20:53:18.870+0100

ghost commented 8 years ago

PS. I tested it on pro2 - this is not Litef bug

Does pro1 have actually port to pro1 as localhost?

NatasaBulatovic on 2016-01-10T20:56:13.935+0100

ghost commented 8 years ago

Just tested on pro1 as well and I get data (from command line)

NatasaBulatovic on 2016-01-10T20:58:28.466+0100

ghost commented 8 years ago

Changing the strategy, reloading the list of public projects for each user who logs in.

Jean-DanielFekete on 2016-01-10T21:02:26.370+0100

ghost commented 8 years ago

In fact each user will get list of all projects he/she has access to. But i just got email from Milica that she is also working on Litef, so if on pro1 it does not work for some time, please consider she is making small maintenance - this does not mean it is a bug, Milica makes some data tests now. She will sends us email when all is finished. In meantime, you may also test on int1 i guess?

NatasaBulatovic on 2016-01-10T21:09:30.830+0100

ghost commented 8 years ago

However, if you send authorization "null" then you anyway have not logged-in user - so this is anyway default scenario to have search available also for non-logged-in users?

NatasaBulatovic on 2016-01-10T21:13:05.185+0100

ghost commented 8 years ago

Litef has an inconsistent behavior. When I ask the list of allowed dataspaces for a user, it returns only the dataspaces that are private and shared, not the public ones. I need to make a specific request with Authorization=null to get the public dataspaces.

Jean-DanielFekete on 2016-01-10T21:56:39.302+0100

ghost commented 8 years ago

How you came to this behavior? Please send me the user key per email and how you call the data API. we tested for a specific key and we get private, shared and public dataspaces in return.

NatasaBulatovic on 2016-01-10T23:19:39.883+0100