User Management
Mydia includes a built-in multi-user system with role-based access control.
User Roles
Mydia has four roles, ranked. Each one can do everything the role below it can, with one deliberate exception noted below.
| Role | Can do |
|---|---|
| Admin | Everything. The only role that reaches /admin: configuration, indexers, download clients, libraries, users, jobs, and approving or rejecting requests. |
| User | Browse the library, and add, edit, or delete media. Cannot reach any admin page. |
| Read Only | Browse the library. Cannot add, edit, or delete anything. |
| Guest | Browse the library, and submit requests for an admin to approve. |
New users default to Guest.
Only guests can submit requests
The request flow is not additive. can_submit_request? returns true for
guests and false for everyone else, including admins, because a user or admin
is expected to add the media directly rather than ask for it. So a Read Only
user can neither add media nor request it.
First User Setup
When you first access Mydia:
- You're guided through creating the initial admin user
- Choose to set a custom password or generate a secure random one
- After creation, you're automatically logged in
Local Authentication
By default, Mydia uses local username/password authentication.
Configuration
Creating Users
Admins can create users through the Admin UI:
- Navigate to Admin > Users
- Click Create Local User
- Enter username and email
- Select a role: Guest, Read Only, User, or Admin
- Either set a password or let Mydia generate a random one
- Save
You can change an existing user's role later from the same page, using the edit icon on their row.
Mydia also supports single sign-on via OpenID Connect (OIDC), including auto-promotion of the first OIDC user to admin. See SSO/OIDC Configuration for supported providers, setup, and role assignment.
Request System
Guest users can request media:
- Guest searches for a movie or TV show
- Guest clicks Request on the search result
- The request lands in the admin queue as pending
- Admin reviews and approves or rejects
- If approved, media is added to library and download begins
- The guest sees the outcome on their own requests page
There are no notifications
Mydia does not email, push, or otherwise notify anyone about requests. Nothing tells an admin that a request arrived, and nothing tells the guest it was approved or rejected. Both sides find out by looking. Admins should check Admin > Requests periodically, and guests can watch My Requests.
Managing Requests
Admins can view and manage requests:
- Navigate to Admin > Requests
- View pending requests
- Approve or reject each request
- A rejection requires a reason, which the requester can see
Disabling Authentication
Security Warning
Disabling authentication is not recommended for production deployments.
For local/testing environments, you can disable local auth when using OIDC:
Next Steps
- Adding Media - How guests search for media to request
- SSO/OIDC - Detailed OIDC configuration
- Environment Variables - All auth options