Skip to content

[Feature Request] OIDC: default library access for new accounts (or library grants from groups) #77

Open

Description

@Waffull

Version: Dewarr v0.3.9, with Authentik as the OIDC provider

Summary

Thank you for #60 / #72: role mapping from groups now covers everything I asked for. I now have Dewarr live, woo hoo. As I've onboarded users, I found one gap remains: accounts created at first OIDC sign-in get no library access. Every new user shows "No library access" until an administrator edits them (Users & access → Users → Edit → Libraries).

As far as I can see, library access exists only as per-user rows (library_grants: user_id, library_id). There is no default and no group-based grant.

Use case

Friends and family are invited through Authentik, and their group decides their role. Everything about their access is now automatic except the library, which needs a manual step after their first sign-in. Until that step, Dewarr shows them nothing useful.

Requested changes

Either of these would solve it:

  1. A default library access setting for accounts created at first OIDC sign-in (none / all / selected libraries), or
  2. Library grants mapped from OIDC groups, alongside the role mappings.

If (2), please document how grants combine with manual changes: whether they are re-applied at every sign-in (as roles are), and whether a grant added by hand survives.

Thank you for all your hard work!!

Activity

  1. linear-code commented on Oct 19, 2026

    @linear-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions