ankane / blazer

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

Allow customizing parent controller of Blazer::BaseController #473

Open grk opened 3 months ago

grk commented 3 months ago

I ran into the problem of having admin user auth methods defined on a controller that inherits from ApplicationController, and thus being unable to properly secure blazer.

This PR (or more like a draft to start a discussion) adds an ability to customize that.

By default it will behave as before, inheriting from ApplicationController, but it's customizable in Settings['base_controller'].