mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
feat(terminal-access): implement terminal access control for servers and containers, including UI updates and backend logic
This commit is contained in:
1 parent
e9deaca8cd
commit
46b4cfac68
11 files changed
+149
-25
No files matched your search
@@ -952,6 +952,11 @@ $schema://$host {
|
||||
}
|
||||
}
|
||||
|
||||
public function isTerminalEnabled()
|
||||
{
|
||||
return $this->settings->is_terminal_enabled ?? false;
|
||||
}
|
||||
|
||||
public function isSwarm()
|
||||
{
|
||||
return data_get($this, 'settings.is_swarm_manager') || data_get($this, 'settings.is_swarm_worker');
|
||||
|
||||
Reference in new issue
Block a user