update static schema info

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-02-27 11:47:34 +01:00
parent fc70b84c59
commit ef04466307

View File

@ -10458,10 +10458,10 @@ var apiSchema = [
"delete" : { "delete" : {
"description" : "A list of settings you want to delete.", "description" : "A list of settings you want to delete.",
"enum" : [ "enum" : [
"id", "rp",
"allow-subdomains", "allow-subdomains",
"origin", "origin",
"rp" "id"
], ],
"optional" : 1, "optional" : 1,
"type" : "string" "type" : "string"
@ -17975,7 +17975,7 @@ var apiSchema = [
}, },
"autocreate-role" : { "autocreate-role" : {
"default" : "audit", "default" : "audit",
"description" : "Automatically create users with a specific role.", "description" : "Automatically create users with a specific role. NOTE: Deprecated, favor 'autocreate-role-assignment'",
"enum" : [ "enum" : [
"admin", "admin",
"qmanager", "qmanager",
@ -17985,6 +17985,44 @@ var apiSchema = [
"optional" : 1, "optional" : 1,
"type" : "string" "type" : "string"
}, },
"autocreate-role-assignment" : {
"default" : "source=fixed,fixed-role=auditor",
"description" : "Defines which role should be assigned to auto-created users.",
"format" : {
"fixed-role" : {
"default" : "audit",
"description" : "The fixed role that should be assigned to auto-created users.",
"enum" : [
"admin",
"qmanager",
"audit",
"helpdesk"
],
"optional" : 1,
"type" : "string"
},
"role-claim" : {
"default" : "role",
"description" : "OIDC claim used to assign the unique username.",
"format_description" : "Role claim.",
"optional" : 1,
"pattern" : "(?^:^[a-zA-Z0-9._:-]+$)",
"type" : "string"
},
"source" : {
"default" : "fixed",
"description" : "How the access role for a newly auto-created user should be selected.",
"enum" : [
"fixed",
"from-claim"
],
"type" : "string"
}
},
"optional" : 1,
"type" : "string",
"typetext" : "source=<fixed|from-claim> [,fixed-role=<enum>] [,role-claim=<Role claim.>]"
},
"client-id" : { "client-id" : {
"description" : "OpenID Connect Client ID", "description" : "OpenID Connect Client ID",
"maxLength" : 256, "maxLength" : 256,
@ -18135,7 +18173,7 @@ var apiSchema = [
}, },
"autocreate-role" : { "autocreate-role" : {
"default" : "audit", "default" : "audit",
"description" : "Automatically create users with a specific role.", "description" : "Automatically create users with a specific role. NOTE: Deprecated, favor 'autocreate-role-assignment'",
"enum" : [ "enum" : [
"admin", "admin",
"qmanager", "qmanager",
@ -18145,6 +18183,44 @@ var apiSchema = [
"optional" : 1, "optional" : 1,
"type" : "string" "type" : "string"
}, },
"autocreate-role-assignment" : {
"default" : "source=fixed,fixed-role=auditor",
"description" : "Defines which role should be assigned to auto-created users.",
"format" : {
"fixed-role" : {
"default" : "audit",
"description" : "The fixed role that should be assigned to auto-created users.",
"enum" : [
"admin",
"qmanager",
"audit",
"helpdesk"
],
"optional" : 1,
"type" : "string"
},
"role-claim" : {
"default" : "role",
"description" : "OIDC claim used to assign the unique username.",
"format_description" : "Role claim.",
"optional" : 1,
"pattern" : "(?^:^[a-zA-Z0-9._:-]+$)",
"type" : "string"
},
"source" : {
"default" : "fixed",
"description" : "How the access role for a newly auto-created user should be selected.",
"enum" : [
"fixed",
"from-claim"
],
"type" : "string"
}
},
"optional" : 1,
"type" : "string",
"typetext" : "source=<fixed|from-claim> [,fixed-role=<enum>] [,role-claim=<Role claim.>]"
},
"client-id" : { "client-id" : {
"description" : "OpenID Connect Client ID", "description" : "OpenID Connect Client ID",
"maxLength" : 256, "maxLength" : 256,
@ -18801,8 +18877,8 @@ var apiSchema = [
"description" : "Query this type of quarantine for users.", "description" : "Query this type of quarantine for users.",
"enum" : [ "enum" : [
"spam", "spam",
"attachment", "virus",
"virus" "attachment"
], ],
"optional" : 1, "optional" : 1,
"type" : "string" "type" : "string"