ankane / blazer

Business intelligence made simple
MIT License
4.5k stars 471 forks source link

[Idea] change data_sorces based on some conditions #453

Open kamal-buqaileh opened 10 months ago

kamal-buqaileh commented 10 months ago

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?