Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
xlcrr committed Sep 30, 2024
1 parent 33249d8 commit 895acd0
Show file tree
Hide file tree
Showing 115 changed files with 119 additions and 758 deletions.
3 changes: 3 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ public function register()
public function boot()
{
Gate::define('viewPulse', function (User $user) {

\Log::info(['hasRole', $user->hasRole('superadmin')]);

return $user->hasRole('superadmin');
});
}
Expand Down
1 change: 0 additions & 1 deletion public/build/assets/About-CLqOoJ_5.js

This file was deleted.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion public/build/assets/Account-OR80t6fm.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 0 additions & 56 deletions public/build/assets/BaseCharts-Duvr8mKf.js

This file was deleted.

Loading

0 comments on commit 895acd0

Please sign in to comment.