From 285dc8cff01516670feb60a329201bc1ba86c839 Mon Sep 17 00:00:00 2001 From: Sean Dion Date: Mon, 25 Mar 2024 07:07:54 -0500 Subject: [PATCH] website/integrations: Update nextcloud Admin Group Expression (#7314) * Update index.md Replace user.ak_groups.all() with user.all_groups per 2023.8 release notes in Admin Group Update Expression in Admin group to only pass groups that start with 'NC-' to NextCloud. Add verbiage around naming for admin group. Signed-off-by: Sean Dion * don't use NC prefix Signed-off-by: Jens Langhammer --------- Signed-off-by: Sean Dion Signed-off-by: Jens Langhammer Co-authored-by: Jens Langhammer --- website/integrations/services/nextcloud/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/integrations/services/nextcloud/index.md b/website/integrations/services/nextcloud/index.md index 3b8be9c4b5..c26682501f 100644 --- a/website/integrations/services/nextcloud/index.md +++ b/website/integrations/services/nextcloud/index.md @@ -286,7 +286,7 @@ Create a custom SAML Property Mapping: - Set the _Expression_ to: ```python -for group in user.ak_groups.all(): +for group in request.user.all_groups(): yield group.name if ak_is_group_member(request.user, name=""): yield "admin"