From f13be789e98b1237b0795b093469f7e228a3a7aa Mon Sep 17 00:00:00 2001 From: Roman Perekhod <2403905@gmail.com> Date: Tue, 27 Oct 2026 18:07:42 +0100 Subject: [PATCH] docs: [OCISDEV-1464] add the changelog for the guest role mapping fixes Co-Authored-By: Claude Opus 5.5 --- .../fix-multi-instance-guest-role-mapping.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 changelog/unreleased/fix-multi-instance-guest-role-mapping.md diff --git a/changelog/unreleased/fix-multi-instance-guest-role-mapping.md b/changelog/unreleased/fix-multi-instance-guest-role-mapping.md new file mode 100644 index 00000000000..3cd2f5d2b6f --- /dev/null +++ b/changelog/unreleased/fix-multi-instance-guest-role-mapping.md @@ -0,0 +1,19 @@ +Bugfix: Fix the role assignment of multi-instance guests + +The proxy now rejects an unknown multi-instance guest role. Before this +fix, the proxy assigned an empty role id when +`OCIS_MULTI_INSTANCE_GUEST_ROLE` named a role that does not exist. + +The proxy now trims the spaces in the pairs of +`OCIS_MULTI_INSTANCE_GUEST_ROLE_MAPPING`. The proxy does not start when the +mapping is set and `OCIS_MULTI_INSTANCE_GUEST_ROLE` is empty. + +When a guest role is not in the role cache, the proxy reads the roles again. +Thus a new role works before the cache time ends. The proxy reads the roles +a maximum of one time in 30 seconds. + +The proxy writes a debug log line when the roles claim of a guest is missing. +The description of `OCIS_MULTI_INSTANCE_GUEST_ROLE_MAPPING` now tells that +a claim value is a regular expression. + +https://github.com/owncloud/ocis/pull/13250