This commit is contained in:
nurmuhammet committed 2023-12-02 14:56:50 +05:00
1 parent 39e1f92503
commit b780a31a00
1 file changed
+8
+8
View File
@@ -31,6 +31,10 @@ public function view(User $user, User $model): bool
return true;
}
if ($user->id === $model->id) {
return true;
}
return false;
}
@@ -59,6 +63,10 @@ public function update(User $user, User $model): bool
return true;
}
if ($user->id === $model->id) {
return true;
}
return false;
}