improved tenant identification

This commit is contained in:
Denis Duliçi
2021-04-16 00:59:43 +03:00
parent 9635e6be5d
commit 2b07442260
126 changed files with 1719 additions and 999 deletions

View File

@@ -60,7 +60,7 @@ class DeleteDashboard extends Job
}
// Check if user can access dashboard
if (!$this->isUserDashboard($this->dashboard->id)) {
if ($this->isNotUserDashboard($this->dashboard->id)) {
$message = trans('dashboards.error.not_user_dashboard');
throw new \Exception($message);