mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-07 18:01:42 +00:00
Currently OIDC group-based role assignment only recognizes groups named 'admin', 'user', or 'guest' (case-insensitive), and denies login when a user's groups match none of them. This makes group-based roles unusable with identity providers whose group names differ, and offers no way to admit such users with a default role. Add two optional server settings: - authOpenIDAdminGroups: comma-separated group names mapped to the admin role, in addition to the built-in names. - authOpenIDGroupDefaultRole: role assigned when no group matches, instead of denying login. Both default to empty, preserving current behavior. Includes the auth settings UI fields, en-us strings, and unit tests for setUserGroup. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| cypress | ||
| layouts | ||
| middleware | ||
| mixins | ||
| pages | ||
| players | ||
| plugins | ||
| static | ||
| store | ||
| strings | ||
| cypress.config.js | ||
| nuxt.config.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||