From c834c009186afdf94cf87506ee667fb7d3304f74 Mon Sep 17 00:00:00 2001 From: Roman Perekhod <2403905@gmail.com> Date: Mon, 14 Sep 2026 19:07:00 +0200 Subject: [PATCH] fix: [backport] correct introductionVersion for OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL (#12950) Change the documented introductionVersion of the OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL environment variable from 8.0.0 to 8.3.0. Co-authored-by: Claude Opus 4.8 (1M context) --- .../fix-ldap-instance-mapper-cache-ttl-version.md | 6 ++++++ services/graph/pkg/config/config.go | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/fix-ldap-instance-mapper-cache-ttl-version.md diff --git a/changelog/unreleased/fix-ldap-instance-mapper-cache-ttl-version.md b/changelog/unreleased/fix-ldap-instance-mapper-cache-ttl-version.md new file mode 100644 index 00000000000..574b4801ddf --- /dev/null +++ b/changelog/unreleased/fix-ldap-instance-mapper-cache-ttl-version.md @@ -0,0 +1,6 @@ +Bugfix: Correct introduction version for OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL + +We changed the documented introduction version of the +OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL from 8.0.0 to 8.3.0. + +https://github.com/owncloud/ocis/pull/12950 diff --git a/services/graph/pkg/config/config.go b/services/graph/pkg/config/config.go index c583fd46f0f..ba84057f516 100644 --- a/services/graph/pkg/config/config.go +++ b/services/graph/pkg/config/config.go @@ -120,7 +120,7 @@ type LDAP struct { InstanceMapperIDAttribute string `yaml:"instance_mapper_id_attribute" env:"OCIS_LDAP_INSTANCE_MAPPER_ID_ATTRIBUTE" desc:"LDAP Attribute of the instance ID. Requires OCIS_MULTI_INSTANCE_ENABLED." introductionVersion:"8.0.0"` CrossInstanceReferenceTemplate string `yaml:"cross_instance_reference_template" env:"OCIS_LDAP_CROSS_INSTANCE_REFERENCE_TEMPLATE" desc:"Template for the users unique reference across oCIS instances. Requires OCIS_MULTI_INSTANCE_ENABLED." introductionVersion:"8.0.0"` InstanceURLTemplate string `yaml:"instance_url_template" env:"OCIS_LDAP_INSTANCE_URL_TEMPLATE" desc:"Template for the instance URL. Requires OCIS_MULTI_INSTANCE_ENABLED." introductionVersion:"8.0.0"` - InstanceMapperCacheTTL int `yaml:"instance_mapper_cache_ttl" env:"OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL" desc:"Max TTL in seconds for the LDAP instance mapper cache. Requires OCIS_MULTI_INSTANCE_ENABLED." introductionVersion:"8.0.0"` + InstanceMapperCacheTTL int `yaml:"instance_mapper_cache_ttl" env:"OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL" desc:"Max TTL in seconds for the LDAP instance mapper cache. Requires OCIS_MULTI_INSTANCE_ENABLED." introductionVersion:"8.3.0"` } // LDAPEducationConfig represents the LDAP configuration for education related resources