Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.2.10
-
None
-
None
Description
The column visibilities for LeftJoin results in the Rya Fluo App are not being handled correctly. For a given query Q1, if the BindingSet [x = Bob, y = Dog] has visibility v_1 is LeftJoined with the BindingSet [x=Bob, z = Cat] with visibility v_2, the resulting BindingSet [x = Bob, y = Dog, z = Cat] with visibility v_1&v_2 is written to Fluo. In the event that a user with authorization v_1 issues the query Q1 and uses PCJs, he will not see the result [x = Bob, y = Dog, z = Cat] given that it has visibilities v_1&v_2. Given that the query is is a LeftJoin, the user should see the result [x = Bob, y = Dog] (which has visibility v_1), but he doesn't because this BindingSet is not being written. So when the LeftJoin for Q1 is evaluated using BindingSets with different visibilities, the joined result (with concatenated visibilities) and the left BindingSet should be written to Fluo. So in the above example, the results [x = Bob, y = Dog, z = Cat] with visibility v_1&v_2 and [x = Bob, y = Dog] with visibility v_1 should be written to the Fluo table.