You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the auth profile, TESK API recognises team groups and team admin groups with a regular expression built from the configured group prefix, base group, admin subgroup and group suffix (ElixirPrincipalExtractor). These configured parts go into the expression as they are, so characters that have a meaning in regular expressions are not matched literally. For example, the . in the default prefix urn:geant:elixir-europe.org:group:elixir: and suffix #perun.elixir-czech.cz matches any character, so a group name that differs from the configured one only at such a position counts as the configured team or team admin group.
Expected: the configured parts are matched literally, so that only the exact group names count; only the team name between them stays a pattern (anything without :).
Fix: quote the configured parts with Pattern.quote, add unit tests for near-identical names and for the exact names, and say in the docs that the names are matched literally.
Activity
fix: match group prefix and suffix literally
docs: say that group names match literally
docs: name the settings matched as plain text