From 709e413e4657e1a4ed7244e63c7dfbffddf64427 Mon Sep 17 00:00:00 2001 From: Zuri Klaschka Date: Tue, 26 Nov 2024 16:51:01 +0100 Subject: [PATCH] website/docs: Fix documentation about attribute merging for indirect membership (#12168) While for role memberships, it is true that they are only applied for _direct_ memberships, this does not appear to be the case for attributes (which is good as this also follows the "Hierarchy" system documented in the same file). In terms of the implementation, this is the case due to the call to `all_groups()` in https://github.com/goauthentik/authentik/blob/3d5a189fa732ef462dbbd73b88c128ebaf1833f9/authentik/core/models.py#L312-L313, introduced in https://github.com/goauthentik/authentik/pull/6017. Looking through the files in there, it is clear that this line in the documentation is from before that point: https://github.com/goauthentik/authentik/blob/95e60a035df11d6f89db18cba3ae978d13d212b8/website/docs/user-group/group.md?plain=1#L15. tl;dr: the documentation was correct before #6017, but is now out of date. This change fixes that. Signed-off-by: Zuri Klaschka --- website/docs/users-sources/groups/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/users-sources/groups/index.mdx b/website/docs/users-sources/groups/index.mdx index ea934547b1..03ff4a9206 100644 --- a/website/docs/users-sources/groups/index.mdx +++ b/website/docs/users-sources/groups/index.mdx @@ -13,4 +13,4 @@ Recursion is limited to 20 levels to prevent deadlocks. ## Attributes -Attributes of groups are recursively merged, for all groups the user is a _direct_ member of. +Attributes of groups are recursively merged, for all groups the user is a member of.