Can not use public baymodel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
High
|
Eli Qiao |
Bug Description
how to reproduce,
use admin user to create a baymodel and mark public field=Ture.
use demo user to show baymodel
taget@taget-
+------
| uuid | name |
+------
| 7c9a8e74-
+------
taget@taget-
ERROR: Baymodel k8sbaymodel-proxy could not be found (HTTP 404) (Request-ID: req-9a1d6995-
Changed in magnum: | |
importance: | Undecided → High |
2 issue:
1. we don't add any logic to union public baymodel when get_baymodel in sqlalchamy api.
2. policy.json don't allow us to show baymodel which is not below us.
This is contradictory to how baymodel. public= True