Repository navigation
Description
Summary
In v0.3.9, an account with permission to request ebooks/audiobooks but without automatic approval cannot start a request directly from an unsaved book's Discover → Open Library details page. The existing request form is implemented, but there is no visible action to open it.
The workaround requires the user to save the title to the catalog first, then navigate through the book-management interface to find the request form. That is unintuitive for a request-only account, especially on a managed/shared installation.
Steps to reproduce
- Use a Requester account that can request ebook and/or audiobook media but cannot auto-approve or start downloads.
- In Discover, search for a book not yet in the local catalog, and open its Open Library details.
- Inspect the available actions.
Actual
The page shows actions such as Add to reading list, Search sources, and Save catalog entry, but no Request ebook / audiobook action. Add to reading list is not equivalent to requesting acquisition.
The regular QuickAdd control does not render for a request-only account because it requires download/auto-approval permission. The separate Wanted request form exists in the page's action panel but its choose("request") action cannot be reached from the visible controls.
Expected
Show a Request ebook / audiobook action for authorized requesters. It should:
- Save/resolve the missing catalog record as needed, without a separate manual catalog step.
- Open the existing Wanted request form.
- Let the requester select ebook, audiobook, or existing allowed request scope.
- Create a pending approval request, not automatically start a download.
- Remain unavailable to users without request permission.
- Preserve existing QuickAdd behavior for accounts authorized to start downloads.
Technical pointer and validation
The page already has a request action and form in apps/web/src/pages/DiscoverBook.tsx, but a visible button calling choose("request") is missing. Its QuickAdd rendering uses canStartDownload, while the lower-privilege request check is available via canManageOwnRequests in apps/web/src/permissions.ts.
A temporary local, frontend-only proof of concept added the missing button and reused the existing request handler. Tested successfully in an Edge InPrivate session as a Requester: it resolved the catalog entry, opened the built-in Wanted form, submitted an audiobook request awaiting approval, and did not start a download. The separate administrator approval process and final library fulfillment also worked.
This is not a claim of complete cross-browser regression coverage; please test mobile browsers as well. No backend permission changes or security bypasses are requested.
Suggested regression tests: Requester (ebook-only, audiobook-only, both), Viewer/no request permission, Approver/Administrator, title not yet in catalog, and title already in catalog.
No private server URLs, user identities, tokens, logs, or screenshots are included.
Activity
linear-code commentedon Oct 17, 2026
NOR-102
Waffull commentedon Oct 20, 2026
Confirming on v0.3.9 with OIDC (Authentik), Requester mapped from a group via the new Requester group field (#72).
The Requester account (
permissions = 112: request, request ebook, request audio) sees no request action on the book page, in Search sources (release details only show info), on the Requests page ("Find books" leads back to search), or via lists. Same cause as described here: Quick add is gated on auto-approve.Until this is fixed we've mapped the group back to Member, which means requests download without approval. A visible "Request" action for Requesters would let us switch back. An optional email/notification to approvers when a request is waiting would round it out.
Thanks!