I\'m having a problem with my foreach, it doesn\'t read the variable I have created in the top.
public function checkForPermission($user, $request) { $per