mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-30 12:49:43 +00:00
ssh settings on a role
This commit is contained in:
parent
874794c996
commit
7a01a4e090
16 changed files with 982 additions and 484 deletions
|
|
@ -372,7 +372,11 @@ export const roles = pgTable("roles", {
|
|||
isAdmin: boolean("isAdmin"),
|
||||
name: varchar("name").notNull(),
|
||||
description: varchar("description"),
|
||||
requireDeviceApproval: boolean("requireDeviceApproval").default(false)
|
||||
requireDeviceApproval: boolean("requireDeviceApproval").default(false),
|
||||
sshSudoMode: varchar("sshSudoMode", { length: 32 }).default("none"), // "none" | "full" | "commands"
|
||||
sshSudoCommands: text("sshSudoCommands").default("[]"),
|
||||
sshCreateHomeDir: boolean("sshCreateHomeDir").default(false),
|
||||
sshUnixGroups: text("sshUnixGroups").default("[]")
|
||||
});
|
||||
|
||||
export const roleActions = pgTable("roleActions", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue