[Idea] change data_sorces based on some conditions
kamal-buqaileh opened this issue · 0 comments
kamal-buqaileh commented
I'm using Blazer along with Hypershield
, I have two data_sources
in my blazer.yml
, and I would like to keep both, however, I want to either just show Hypershield
data_source or both data_sources (Hypershield
and Database
) based on my user class
I was trying to use the before_action_method to do this, but I wasn't successful, is there any workaround that can allow me to do so?