Update services/proxy/pkg/config/config.go

This commit is contained in:
Martin authored and GitHub committed 2025-05-06 10:38:42 +02:00
1 parent 52c19ec43d
commit 2d12ee374c
1 file changed
+1 -1
+1 -1
View File
@@ -236,6 +236,6 @@ type Events struct {
type ClaimSpaceManagement struct {
Enabled bool `yaml:"enabled" env:"OCIS_CLAIM_MANAGED_SPACES_ENABLED" desc:"Enables Space management through OIDC claims." introductionVersion:"%%NEXT%%"`
Claim string `yaml:"claim" env:"OCIS_CLAIM_MANAGED_SPACES_CLAIMNAME" desc:"The name of the claim used to manage Spaces." introductionVersion:"%%NEXT%%"`
Regexp string `yaml:"regexp" env:"OCIS_CLAIM_MANAGED_SPACES_REGEXP" desc:"The regular expression that extracts Space ID\'s and roles from a claim." introductionVersion:"%%NEXT%%"`
Regexp string `yaml:"regexp" env:"OCIS_CLAIM_MANAGED_SPACES_REGEXP" desc:"The regular expression that extracts Space IDs and roles from a claim." introductionVersion:"%%NEXT%%"`
Mapping []string `yaml:"mapping" env:"OCIS_CLAIM_MANAGED_SPACES_MAPPING" desc:"(Optional) Mapping of OIDC roles to ocis Space roles. Example: 'oidcroleA:viewer,oidcroleB:manager'" introductionVersion:"%%NEXT%%"`
}