if($permission[$i] == $permission['2']){