mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 15:32:35 +00:00
migrating tests (Application, Console and Cronjob)
This commit is contained in:
@ -34,6 +34,6 @@ public function delete(User $user, Server $server): bool
|
||||
|
||||
public function manage(User $user, Server $server): bool
|
||||
{
|
||||
return $user->isAdmin() || $server->project->users->contains($user);
|
||||
return ($user->isAdmin() || $server->project->users->contains($user)) && $server->isReady();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user