feat: only show shared suppliers that are allowed to be shown#1036
feat: only show shared suppliers that are allowed to be shown#1036kidhab wants to merge 1 commit intofoodcoops:masterfrom
Conversation
current foodcoop
|
Maybe it would be better to introduce a new config item because it's possible to set Anyway let me know what you think in general. |
|
hey, |
|
Maybe you can have another look at the tests, it look's like your changes broke something. |
|
We could use the foodcoop config key (I think it is sometimes also called 'scope') instead of |
Can you re-run the failed job so that I can see the error message again? I don't have the necessary permissions. |
It appears this run has expired, and needs a re-push to run CI again (and if that fails, we could try to re-run in case of a flaky test). |
This SharedLists commit introduces a new foodcoop column at the SharedLists suppliers table.
The web interface will show a field that expects the name of a Foodcoop (has to be defined via
[FoodsoftConfig[:name]). If the field is empty, the supplier will be show to all Foodsoft multisite instances.If the field contains a string the Foodsoft will use it to filter out suppliers that are only allowed to be shown for a specific Foodcoop instance.
This MR introduces the filter at the Foodsoft side.
Closes #1033