We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4bfc09 commit 0063073Copy full SHA for 0063073
app/Traits/HasOwningTeam.php
@@ -9,7 +9,7 @@ trait HasOwningTeam
9
{
10
protected static function bootHasOwningTeam(): void
11
12
-// static::addGlobalScope(new TeamScope());
+ static::addGlobalScope(new TeamScope());
13
14
static::creating(function ($model) {
15
$model->team_id = auth()->user()->currentTeam->id;
0 commit comments