From c8d8d8675daa71a9b99a2bdf16a472a5332fbd41 Mon Sep 17 00:00:00 2001 From: dettlaff Date: Mon, 20 Jan 2025 04:36:09 +0400 Subject: [PATCH] feat: add idm_people_self_name_write to default groups --- .../repositories/users/kanidm_user_repository.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/selfprivacy_api/repositories/users/kanidm_user_repository.py b/selfprivacy_api/repositories/users/kanidm_user_repository.py index 37f7f27..bd8a6e3 100644 --- a/selfprivacy_api/repositories/users/kanidm_user_repository.py +++ b/selfprivacy_api/repositories/users/kanidm_user_repository.py @@ -35,7 +35,11 @@ redis = RedisPool().get_connection() KANIDM_URL = "https://127.0.0.1:3013" ADMIN_GROUPS = ["sp.admins"] -DEFAULT_GROUPS = [f"idm_all_persons@{DOMAIN}", f"idm_all_accounts@{DOMAIN}"] +DEFAULT_GROUPS = [ + f"idm_all_persons@{DOMAIN}", + f"idm_all_accounts@{DOMAIN}", + f"idm_people_self_name_write@{DOMAIN}", +] logger = logging.getLogger(__name__)