nextcloud: moved admin into own ldap group
This commit is contained in:
parent
4e58a128d8
commit
a10111a791
4 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
});
|
||||
|
|
|
@ -162,5 +162,6 @@ in {
|
|||
${pythonEnv}/bin/python -m bootstrap.main ${configFile}
|
||||
'';
|
||||
};
|
||||
systemd.services.lldap.restartTriggers = [ configFile ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
"base_member" = {};
|
||||
"system_service" = {};
|
||||
"system_mail" = {};
|
||||
"nextcloud_admin" = {};
|
||||
};
|
||||
|
||||
# attributes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue