This commit is contained in:
2023-12-02 14:56:50 +05:00
parent 39e1f92503
commit b780a31a00

View File

@@ -31,6 +31,10 @@ class UserPolicy
return true;
}
if ($user->id === $model->id) {
return true;
}
return false;
}
@@ -59,6 +63,10 @@ class UserPolicy
return true;
}
if ($user->id === $model->id) {
return true;
}
return false;
}