Repository navigation
Users and sharing
DVinyl works great as a solo tool, but it also lets you share a collection with family, friends or a community. This page explains collections, roles and single sign-on, all in plain terms.
A collection is a library of items. You can have several, and each one is its own separate container. That means the same item can live in two collections independently, and each collection can have its own enabled media types, themes and members.
Common ways people use multiple collections:
- A personal library, just for you.
- A shared family library everyone can add to.
- A themed collection (for example a club's shared archive).
You can switch between the collections you have access to at any time.
The collection an instance was created with is its main collection, marked with a badge on the instance admin page. It is protected from deletion, but the role can move: use Make it the main collection on another one, and the original can then be renamed, changed or deleted. This is not the same as the collection you open on, which each member picks in their own settings.
When you share a collection, not everyone needs the same powers. DVinyl has three roles:
| Role | Can do |
|---|---|
| Admin | Full control: manage items, settings, media types and members. |
| Editor | Add, edit and remove items, but not change the collection settings or members. |
| Viewer | Browse the collection, but not change anything. |
Give trusted people editor access to help you build the library, and hand out viewer access to anyone you just want to show your shelf to.
You can keep a collection completely private, or open it up so others can view or help manage it. From the Members tab of the collection's admin page, add someone who already has an account, or create one for them, and give each person a role. Change or revoke access whenever you like.
Rather than creating an account for someone, a collection admin can send them an invite link: Members tab, Invite links, pick the role and how long it stays valid (1, 7 or 30 days), then Create a link and send it.
The person opens it, picks their own username and password, and lands straight in the collection. If they already have an account, they sign in and join with it. Each link works once and can be deleted at any time before it is used.
When you search or scan an item to add it, the results show who among the members of your collections wishes for it: the very release when the wish names one, or the same title by the same creator when the wish was typed in by hand. Each collection's own visibility rules apply. And when someone adds a wish, the other members can get a notification.
To ask a member for an item (to borrow it, for a gift...), see Requests and notifications.
Sometimes the person you want to show your collection to should not have to create an account: a friend curious about your records, a visitor standing in front of the shelf, a table at a fair. For that, a collection can hand out share links.
A share link is a plain URL, with a QR code generated by your own instance, that opens the collection in read-only mode. No account, no password, nothing to clean up afterwards. Print the QR code and tape it next to the shelf, and anyone can browse what is on it from their phone.
Share links have their own page: in the collection's admin panel, open the Collection tab and click Public share links. On a phone, the collection page's menu also has a Share entry that lists the active links and what each one shows, ready to send. A collection can have several links at once, each independent: one for your vinyls, another for the whole collection, and disabling one never touches the others.
Each link gets its own card, with:
- a switch to turn it on or off,
- buttons to share it (your phone's share menu), copy it, or show its QR code and save it as an image,
- an edit sheet to give it a name (only you see it) and choose what it shows.
Each link can be narrowed. Tick the media types it may show and, inside a type, the formats: only CDs, or CDs and vinyls, or every film but no games. Tick nothing and the link shows everything.
What a visitor can do: browse, search, filter, open an item, follow a TV show to its seasons and their episode lists, and read the collection's info page if you made it visible to share links.
What a visitor can never do or see:
- Add, edit or delete anything
- Your wishlist, your dashboard, your lists, the admin panel or any other collection
- The shelf view: visitors keep the grid
- Where your items are kept: the Location field is never shown to a share link, anywhere
- Who is behind the collection: no member name appears on an item
That last pair is deliberate: a link you hand out travels further than you can follow, so it says what is on the shelf without saying where you live or who you are.
Changed your mind? Disable a link to pause it (re-enabling brings back the same URL and QR code), regenerate it to invalidate whatever is already out there, or delete it outright. Keep in mind that whoever holds the link can browse it for as long as it stays enabled: it is the link itself that grants access, so treat it like a key.
The full details, including a few scoping examples, live in the share links documentation.
If your server already uses an identity provider (Authentik, Keycloak, Authelia, pocketID and other OIDC providers), DVinyl can plug into it so you sign in with your existing account.
SSO is optional and set up by the administrator through environment variables. See the commented
block in .env.example. There are two
ways it can behave, depending on how the administrator configures it.
By default, SSO does not create accounts on its own. You first sign in with your DVinyl password, then link your identity from the Settings page. After that, you can log in with a single click. Only people who already have a DVinyl account can connect their SSO identity.
The administrator can also let SSO create accounts automatically on first sign-in, so you do not have to add each person by hand. This is useful when you already manage your users in your identity provider.
How it works:
- Access can be limited to the members of a chosen provider group (for example
allow_dvinyl_access). Only members of that group can sign in. - Membership is checked on every login, not just the first one. If you remove someone from the group in your identity provider, they lose access to DVinyl right away.
- The administrator can map a second group (for example
dvinyl_admins) to grant instance administrator rights to its members when their account is first created. - Accounts created this way sign in through the provider only: they have no local DVinyl password. The rest of DVinyl works the same, and they can still be given roles in any collection.
Once SSO works, the administrator can go one step further and remove the password form
altogether (OIDC_DISABLE_LOCAL_LOGIN=true). The login page then sends everyone straight to the
identity provider. As a safety net, this setting is ignored while SSO is not fully configured, so a
typo can never lock everyone out. If the provider ever goes down, unsetting the variable and
restarting brings the password form back.
- You can sign in with your email or your username, whichever you remember. The username works whatever case you type it in, so a phone capitalising the first letter does not lock you out.
- After too many wrong passwords on an account, DVinyl makes you wait a little before trying again. This slows down anyone guessing passwords, without blocking you for long.
- Each browser or device keeps its own active collection: switching collection on your phone does not change what is open on your computer.
On a brand-new install, the first person to open DVinyl creates the admin account. To keep anyone
else from getting there first, the server can set a SETUP_TOKEN: the setup page then asks for it,
for a new account as for the restore of a backup. See the
environment variables.
An instance administrator manages the whole server: users, collections and backups. This is separate from the per-collection roles above.
Instance administrators are treated as equals. To keep any one of them from locking the others out, an instance administrator cannot delete another instance administrator, nor reset their password. Each admin still manages their own account as usual.
Ready to add a collection type that does not exist yet? Head to Create a custom plugin (no code).