mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-30 12:49:43 +00:00
🚧 add device approval in the roles page
This commit is contained in:
parent
1f80845a7a
commit
cb21cab117
5 changed files with 88 additions and 23 deletions
|
|
@ -255,7 +255,9 @@ export const siteResources = sqliteTable("siteResources", {
|
|||
aliasAddress: text("aliasAddress"),
|
||||
tcpPortRangeString: text("tcpPortRangeString").notNull().default("*"),
|
||||
udpPortRangeString: text("udpPortRangeString").notNull().default("*"),
|
||||
disableIcmp: integer("disableIcmp", { mode: "boolean" }).notNull().default(false)
|
||||
disableIcmp: integer("disableIcmp", { mode: "boolean" })
|
||||
.notNull()
|
||||
.default(false)
|
||||
});
|
||||
|
||||
export const clientSiteResources = sqliteTable("clientSiteResources", {
|
||||
|
|
@ -796,7 +798,10 @@ export const idpOidcConfig = sqliteTable("idpOidcConfig", {
|
|||
identifierPath: text("identifierPath").notNull(),
|
||||
emailPath: text("emailPath"),
|
||||
namePath: text("namePath"),
|
||||
scopes: text("scopes").notNull()
|
||||
scopes: text("scopes").notNull(),
|
||||
approvalState: text("approvalState")
|
||||
.$type<"pending" | "approved" | "denied">()
|
||||
.default("approved")
|
||||
});
|
||||
|
||||
export const licenseKey = sqliteTable("licenseKey", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue