diff --git a/app/Containers/AppSection/User/UI/API/Requests/UpdateUserRequest.php b/app/Containers/AppSection/User/UI/API/Requests/UpdateUserRequest.php index 2bd67f17e..1f1d42ea3 100644 --- a/app/Containers/AppSection/User/UI/API/Requests/UpdateUserRequest.php +++ b/app/Containers/AppSection/User/UI/API/Requests/UpdateUserRequest.php @@ -44,9 +44,6 @@ public function rules(): array public function authorize(): bool { - // is this an admin who has access to permission `update-users` - // or the user is updating his own object (is the owner). - return $this->check([ 'hasAccess|isResourceOwner', ]);