Closed wvengen closed 9 years ago
I've tried to add an inherit
configuration key for inheriting config from a different foodcoop. This involves running select_foodcoop
, reading the keys, then going back to select_foodcoop
for the current foodcoop. This is a bit of overhead for each fetching of a configuration key.
Solution: in the multishared plugin, hook getting a configuration value to
This requires removing something like <<: *parent_coop
in the config for foodcoops using join_scope
. It should be possible to do these things without needing to call select_foodcoop
, just querying the database and config hash.
We won't be continuing in this direction.
Now that a configuration screen is present in wvengen/feature-config_db, the multishared plugin needs to be able to work with it; meaning that sub-foodcoops (like with fc-eindhoven) need to take the configuration of the master foodcoop (central).