mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-07-17 05:43:36 +00:00
feat: refactor rbac/sharing to support new permissions and auth types
This commit is contained in:
@@ -113,6 +113,10 @@ export function sshHostToHost(h: SSHHostWithStatus): Host {
|
||||
socks5Password: h.socks5Password,
|
||||
socks5ProxyChain: parseJson(h.socks5ProxyChain) ?? [],
|
||||
overrideCredentialUsername: h.overrideCredentialUsername ?? false,
|
||||
isShared: h.isShared ?? false,
|
||||
permissionLevel: h.permissionLevel,
|
||||
sharedExpiresAt: h.sharedExpiresAt,
|
||||
ownerUsername: h.ownerUsername,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user