mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-18 18:15:18 +00:00
Merge remote-tracking branch 'origin/next' into v5-parallel-inertia-react
This commit is contained in:
commit
ae32ab5d7b
139 files changed
+8677
-545
No files matched your search
@@ -32,6 +32,14 @@ class ServiceDatabasePolicy
|
||||
return Gate::allows('update', $serviceDatabase->service);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can deploy or run lifecycle actions on the parent service stack.
|
||||
*/
|
||||
public function deploy(User $user, ServiceDatabase $serviceDatabase): bool
|
||||
{
|
||||
return Gate::allows('deploy', $serviceDatabase->service);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user