dci-control-server icon indicating copy to clipboard operation
dci-control-server copied to clipboard

Unable to list products as user

Open dsavineau opened this issue 6 years ago • 0 comments

As a user, I can't list the product even if I'm subscribed to topics associated to that product.

$ dcictl topic-list
+--------------------------------------+------------+--------+-------------------+----------------+-------+--------------------------------------+--------------------------------------+
|                  id                  |    name    | state  |  component_types  | export_control | label |            next_topic_id             |              product_id              |
+--------------------------------------+------------+--------+-------------------+----------------+-------+--------------------------------------+--------------------------------------+
| 3e4927a7-1c4c-420f-b558-a989c1e202d4 |    foo     | active |    [u'tarball']   |      False     |  None |                 None                 | 44bc8742-4cd8-4981-b333-7c7ea17cdbd4 |
+--------------------------------------+------------+--------+-------------------+----------------+-------+--------------------------------------+--------------------------------------+
$ dcictl product-list
++
||
++
++

Compared to the admin user:

$ dcictl product-list
+--------------------------------------+-------------+--------+-------------+-------------+--------------------------------------+
|                  id                  |     name    | state  | description |    label    |               team_id                |
+--------------------------------------+-------------+--------+-------------+-------------+--------------------------------------+
| 44bc8742-4cd8-4981-b333-7c7ea17cdbd4 |     bar     | active |     None    |     BAR     | cca2fe05-74df-44d1-91b2-02b9b5964354 |
+--------------------------------------+-------------+--------+-------------+-------------+--------------------------------------+

dsavineau avatar Oct 18 '18 13:10 dsavineau