diff --git a/app/Http/Controllers/Company/Project/ProjectController.php b/app/Http/Controllers/Company/Project/ProjectController.php index e90a77302..80711542a 100644 --- a/app/Http/Controllers/Company/Project/ProjectController.php +++ b/app/Http/Controllers/Company/Project/ProjectController.php @@ -574,7 +574,7 @@ public function createStatus(Request $request, int $companyId, int $projectId) } if ($project->lead) { - if ($project->lead->id != $employee->id) { + if ($project->lead->id != $employee->id && $employee->permission_level > 200) { return redirect('home'); } } diff --git a/resources/js/Pages/Project/Members/Index.vue b/resources/js/Pages/Project/Members/Index.vue index 15f1868c5..631e6eb4f 100644 --- a/resources/js/Pages/Project/Members/Index.vue +++ b/resources/js/Pages/Project/Members/Index.vue @@ -94,75 +94,77 @@ -