mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 21:31:06 +03:30
testing
This commit is contained in:
@@ -22,7 +22,7 @@ class UserPolicy
|
||||
|
||||
public function update(User $User, User $Operator)
|
||||
{
|
||||
if($User->hasRole('Admin') && $User->id == $Operator->id)
|
||||
if($User->hasRole('Admin') || $User->id == $Operator->id)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user