Fix LDAP config #15

Merged
hxlcyxn merged 2 commits from ldap-fix into main 2022-12-17 21:16:21 +01:00
2 changed files with 10 additions and 9 deletions

View file

@ -2,29 +2,29 @@
"groups": [ "groups": [
{ {
"name": "admins", "name": "admins",
"long-name": "Portunus Admins", "long_name": "Portunus Admins",
"members": ["admin"], "members": ["admin"],
"permissions": { "permissions": {
"portunus": { "is-admin": true }, "portunus": { "is_admin": true },
"ldap": { "can-read": true } "ldap": { "can_read": true }
} }
}, },
{ {
"name": "ifsr", "name": "ifsr",
"long-name": "Mitglieder des ifsr", "long_name": "Mitglieder des ifsr",
"members": [], "members": [],
"permissions": { "permissions": {
"portunus": { "is-admin": false }, "portunus": { "is_admin": false },
"ldap": { "can-read": false } "ldap": { "can_read": false }
} }
}, },
{ {
"name": "strukturer", "name": "strukturer",
"long-name": "Strukturer des ifsr", "long_name": "Strukturer des ifsr",
"members": [], "members": [],
"permissions": { "permissions": {
"portunus": { "is-admin": false }, "portunus": { "is_admin": false },
"ldap": { "can-read": false } "ldap": { "can_read": false }
} }
} }
], ],

View file

@ -39,6 +39,7 @@ in
user = "${portunusUser}"; user = "${portunusUser}";
group = "${portunusGroup}"; group = "${portunusGroup}";
domain = "${domain}"; domain = "${domain}";
port = 8081;
ldap = { ldap = {
user = "${ldapUser}"; user = "${ldapUser}";
group = "${ldapGroup}"; group = "${ldapGroup}";