nextcloud: moved admin into own ldap group

This commit is contained in:
eyjhb 2025-03-14 16:41:44 +01:00
parent 4e58a128d8
commit a10111a791
Signed by: eyjhb
GPG key ID: 609F508E3239F920
4 changed files with 5 additions and 3 deletions

View file

@ -275,7 +275,7 @@ in {
user_id = name;
display_name = name; # required for nextcloud
membermail = mkProvisionEmail name;
groups = [ lconfig.groups.admin lconfig.groups.member ];
groups = with lconfig.groups; [ admin nextcloud_admin member ];
membermaildiskquota = 100*1024*1024; # mb
nextcloudquota = 100*1024*1024; # mb
});

View file

@ -162,5 +162,6 @@ in {
${pythonEnv}/bin/python -m bootstrap.main ${configFile}
'';
};
systemd.services.lldap.restartTriggers = [ configFile ];
};
}

View file

@ -36,6 +36,7 @@
"base_member" = {};
"system_service" = {};
"system_mail" = {};
"nextcloud_admin" = {};
};
# attributes