Have a test dashboard app with two dashboards. Have created a Permission object which has a method of 'beExecutive' which checks whether the user has the exec role. Within the dashboard app this is called using enabledWhen.
If the currently logged in user has the exec role, the reports present correctly.
If however the currently logged in user does not have the exec role the expected behaviour of the dashboard app showing the unsecured dashboard in isolation is not occurring and the application is erroring out with:
Exception: Call undefined getEnabledDashboards() method in /var/www/html/waylandbi/vendor/koolreport/dashboard/TMagicMethod.php:23
I've clearly overlooked something somewhere but I'm not sure where. Any assistance greatly appreciated.