Allow changing the allow ssh and update shcmea

This commit is contained in:
Owen
2026-08-17 14:06:26 -04:00
parent 87a3e5ceea
commit a74b0934fc
4 changed files with 5 additions and 10 deletions
+1 -1
View File
@@ -995,7 +995,7 @@ export const roles = sqliteTable("roles", {
requireDeviceApproval: integer("requireDeviceApproval", {
mode: "boolean"
}).default(false),
sshSudoMode: text("sshSudoMode").default("none"), // "none" | "full" | "commands"
sshSudoMode: text("sshSudoMode").default("full"), // "none" | "full" | "commands"
sshSudoCommands: text("sshSudoCommands").default("[]"),
sshCreateHomeDir: integer("sshCreateHomeDir", { mode: "boolean" }).default(
true