Begin ssh host permissions

This commit is contained in:
Tuan Dang
2025-04-05 22:57:46 -07:00
parent b8f04d6738
commit 5671cd5cef
3 changed files with 195 additions and 5 deletions
@@ -30,14 +30,10 @@ type Props = {
) => void;
};
// TODO: something to do with allowed principals
export const SshHostsTable = ({ handlePopUpOpen }: Props) => {
const { currentWorkspace } = useWorkspace();
const { data, isPending } = useListWorkspaceSshHosts(currentWorkspace?.id || "");
console.log("hosts data: ", data);
return (
<div>
<TableContainer>