Closed jaakkocsc closed 3 years ago
Can you maybe give a screenshot @jaakkocsc ?
It's the create catalogue item page resource dropdown that displays just the name of the item?
It doesn't look like the type of licence is currently exposed in the re-frame db
I think the easiest would be to get licence from the queries.sql
the licence and expose it into the catalogue get-catalogue-items
, what do you think @Macroz @opqdonut
I think the easiest would be to get licence from the
queries.sql
the licence and expose it into the catalogueget-catalogue-items
, what do you think @Macroz @opqdonut
I think the resources are fetched from the database and the licenses are joined to them in the service layer so they should be available already. You are looking at the wrong place (it's not the catalogue but the resources ...)
Perhaps this helps:
Hmm, do we have the data model definition anywhere in the docs?
You can have a look at it in
re-frisk
like Joel showed or Thanks a lot @Macroz
I think my initial idea was pretty close, though. We do fetch catalogue items from resources and we do not expose licences in that call.
I am confused at what you are saying, so are we talking about the same thing:
The confusion was cleared up on flowdock. I also updated the ticket description to be a bit clearer!
As an owner, when I go to the create catalogue item page,
if same resource exists with different licenses the UI does not distinguish them, i.e. it's impossible to know which resource to select.