]> BookStack Code Mirror - bookstack/commit
Added ability to set custom ldap group -> role mapping
authorDan Brown <redacted>
Sun, 15 Jul 2018 18:34:42 +0000 (19:34 +0100)
committerDan Brown <redacted>
Sun, 15 Jul 2018 18:34:42 +0000 (19:34 +0100)
commitf421d83627494d1aae9dab29cb5c5bf7d1ea86ac
treebab7742e61f361ae22833b9e9b2479d78bf8b351
parentbe2ca9d4bbc8850ab70fce9549cf1087d4e4d721
Added ability to set custom ldap group -> role mapping

Added input in role form to allow matching against custom names.
Changed default mapping to use role display name instead of the hidden
DB name.
.env.example
app/Http/Controllers/PermissionController.php
app/Role.php
app/Services/LdapService.php
config/services.php
database/migrations/2018_07_15_173514_add_role_external_auth_id.php [new file with mode: 0644]
resources/lang/en/settings.php
resources/views/settings/roles/form.blade.php
tests/Auth/LdapTest.php