openfoodfoundation / sib-discovery-components

Development and application of Startin'Blox Discovery components, initial use in Discover Regenerative www.regenerative.org.au
1 stars 0 forks source link

Certifications - Documents and external link not visible #34

Open mariocarabotta opened 1 month ago

mariocarabotta commented 1 month ago

This is happening in the Producer details page.

Documents for download and / or external links that should be shown as links in the certifications, are not shown. Examples of some certifications with attachments are available for The Regenerative Farm DR Example profile. Data has been added recently, might take a while for it to update.

CURRENT Image

EXPECTED Image

JbPasquier commented 1 month ago

Same as for #30 missing datas from API.

Related comment: https://github.com/openfoodfoundation/openfoodnetwork/issues/12237#issuecomment-1997343090

JbPasquier commented 1 month ago

Done with #30

mariocarabotta commented 1 month ago

https://regenerative.org.au/directory/directory-producer-details/@https%3A%2F%2Fapi.regenerative.org.au%2Fwebhook%2Fregen%2Fproducer%3Fid%3Drecd7bQAeOUGe16n4@ this producer has a certification with an attachment - Organic (in transition) but the link to download is not showing up

JbPasquier commented 1 month ago

@mkllnk This certification has no ofn:Documentation_permission

mariocarabotta commented 1 month ago

@mariocarabotta to add an automation so that when a certification is created, Documentation permissions are always set to public

mariocarabotta commented 3 weeks ago

automation here