When loading the main dashboard, the cancan(can) adapter tries to authorise(:dashboard, nil).
Not passing in any model (the nil) is incorrect use of cancancan, according to a maintainer.
Can we change the authorise to pass in :rails_admin as the "model"? I understand this is a breaking change. Perhaps do it if cancancan is seen to be v2 or higher?
When loading the main dashboard, the cancan(can) adapter tries to
authorise(:dashboard, nil).Not passing in any model (the
nil) is incorrect use of cancancan, according to a maintainer.Can we change the
authoriseto pass in:rails_adminas the "model"? I understand this is a breaking change. Perhaps do it ifcancancanis seen to be v2 or higher?