On a query with sources from index file: first login with a user with insufficient permissions (in the test data below textile_user1), index file can't be read, resulting in no results (OK).
But when logging out and logging in with a new user with sufficient permissions (in the test data below textile_user6), the index file isn't read again, resulting in still no results (not OK this time).
Same story when first not logging in and executing the query, followed by logging in with a user with sufficient permissions.
Observation:
On a query with sources from index file: first login with a user with insufficient permissions (in the test data below textile_user1), index file can't be read, resulting in no results (OK).
But when logging out and logging in with a new user with sufficient permissions (in the test data below textile_user6), the index file isn't read again, resulting in still no results (not OK this time).
Same story when first not logging in and executing the query, followed by logging in with a user with sufficient permissions.
Test data
*.txt
to*.rq
and put in ./public/queries) electronics_products.txt electronics_rare_earth.txt electronics_REACH.txt electronics_recycled.txt electronics_resilience.txt spo.txt textile_disassembly.txt textile_matter_composition.txt textile_product_composition.txt textile_products.txt*.txt
to*.rq
and put in ./public/queries/sourceQueries) seeAlso.txtThese are the involved users:
Note: in the next table,
X
stands for a positive integer number. As many actors exist as needed per use case.http://localhost:3011/construction_userX/card#me
http://localhost:3011/textile_userX/card#me
http://localhost:3011/electronics_userX/card#me