PlanQK / planqk-platform

PlanQK Platform Issue Repository
3 stars 0 forks source link

Can't see algorithm relations of private algorithms #44

Closed lharzenetter closed 3 years ago

lharzenetter commented 3 years ago

Describe the bug If I add relations to an algorithm, the relations can only be seen, if both algorithms are either private or public. However, an relation is added to a private algorithm that references a public one, it can be added but it is not shown in the list.

To Reproduce Steps to reproduce the behavior:

  1. Create a new algorithm, i.e., it is private per default
  2. Add a relation to another algorithm which is public (and that is not maintained by you)
  3. After adding the relation it is not shown in the relations section
  4. After setting the algorithm to public, the relations appears

Expected behavior The relation of private algorithms should be displayed. However, the public ones should not show the relations to private ones.

Screenshots Private algorithm: image

Public algorithm: image

Desktop (please complete the following information):