mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 20:15:36 +00:00
woah
This commit is contained in:
1 parent
50bac2c056
commit
bbcabc8e71
31 files changed
+636
-472
No files matched your search
+1
-1
@@ -34,7 +34,7 @@ class User extends Authenticatable
|
||||
$model->uuid = (string) new Cuid2(7);
|
||||
});
|
||||
}
|
||||
public function isPartOfRootTeam()
|
||||
public function isAdmin()
|
||||
{
|
||||
$found_root_team = auth()->user()->teams->filter(function ($team) {
|
||||
if ($team->id == 0) {
|
||||
|
||||
Reference in new issue
Block a user