Merge pull request #15 from fsr/ldap-fix

This commit is contained in:
Tassilo Tanneberger 2022-12-17 21:16:20 +01:00 committed by GitHub
commit 644088ca76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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}";