AILLMDockerSelf-Hosting

Open WebUI for Family and Teams: Accounts, Groups and Model Access

Before you start

  • 18 min read
  • Updated December 2026

Boxes marked Run in terminal are what you type; plain text explains why. Check what you need first

What you get in one minute#

We can share one Open WebUI instance while giving each person a separate account, a limited set of features and access to selected models.

Open WebUI official logo

Logo: the official Open WebUI project (github.com/open-webui/open-webui)

We build a small access plan: ordinary members get a local chat model; a trusted group gets an additional model and selected features. We then check that an ordinary account cannot reach the extra model. This is useful for a household or a small team sharing one model server.

For the basic install, see our Open WebUI + Ollama with Docker Compose: Full 2026 Setup (Linux, Windows, Mac) guide. Here we concentrate on what happens after the first administrator signs in.

At a glance#

  • Result: individual accounts, reviewed group grants and an access checklist.
  • Time: allow 30–45 minutes after installation; our planning estimate.
  • Difficulty: mostly browser settings, with a short Compose reference.
  • Boundary: groups control application access; administrators and host operators remain trusted.
WhatValue
Current stableOpen WebUI v0.13.5, released 25 November; checked 6 December 2026
Official imageghcr.io/open-webui/open-webui:v0.13.5, manifest verified
Model backend referenceollama/ollama:0.40.21, released 4 December; tag verified
PortsHost 3000 to app 8080; Ollama 11434 inside Docker only
Resources measuredNo RAM, CPU or storage measurement for this setup
DocumentationOpen WebUI access control

We use the current stable after reviewing the release and recent issue reports. Updating from an older version can migrate the database; a previous image alone is not a rollback.

How it fits together#

Open WebUI checks the signed-in account's effective permissions and the model's access grants before sending a chat to Ollama.

Each person signs in to Open WebUI, global and group permissions combine, and private model access either allows a chat to reach Ollama or refuses it for review.

Feature permissions and resource access are different. Permission to upload files does not grant access to someone else's private model. Conversely, model read access does not make someone an administrator.

Before you start#

We need the working installation from the twin and control of its administrator account. Back it up before adjusting access.

SystemWhat we need
LinuxDocker Engine, Compose plugin, browser and a supported 64-bit host
WindowsDocker Desktop with WSL2, PowerShell and browser; WSL filesystem is preferable for Linux bind mounts
MacDocker Desktop and browser; native Ollama is preferable for Apple GPU inference

We have no measured hardware minimum for this access exercise. The twin covers model hardware; allow extra disk for uploads, chats and several backups. Keep an always-on deployment on a machine that will not sleep during use.

Check docker --version and docker compose version. Check port 3000 with ss -ltn on Linux, Get-NetTCPConnection -LocalPort 3000 on Windows, or lsof -nP -iTCP:3000 on Mac. An existing instance owning that port is expected.

  • [ ] Back up the existing data folder and secret key.
  • [ ] Write down which ordinary users need which models.
  • [ ] Keep at least one administrator account under the owner's control.
  • [ ] Keep raw app and Ollama ports off the internet.
  • [ ] For public HTTPS only: domain, DNS and ports 80/443 ready.

Every domain, group name and folder here is an example to adapt. Tested by DIY Lab Hub: not yet. Linux, Windows and Mac steps are documentation-based; expected results are checks for the reader.

LLM Guide: let your AI assistant set it up#

We can ask an assistant to apply this access plan one decision at a time.

Copy the block below into ChatGPT, Claude, Gemini or a local model. It first asks about your setup, then follows only the path that fits you.

Instructions for your AI assistantllm
Help me share Open WebUI with a family or small team using accounts, groups and model grants.
Use https://diylabhub.com/open-webui-family-team/ (checked 6 December 2026).
Explain every command, work one step at a time, and wait for OK before deleting data, stopping services, changing a router or opening ports.

STEP 0 - FIND OUT MY SETUP
1. Linux distribution, Windows with Docker Desktop/WSL2, or Mac? Check docker --version and docker compose version.
2. Is Open WebUI already running? Which data path, image version and Compose project? Check docker compose ps. Do not start a duplicate instance.
3. Is port 3000 free or owned by that existing instance? How much free disk, RAM and model memory is available?
4. Where is Ollama: same Compose project, native host, or another private machine? On Mac prefer native Ollama for GPU use.
5. Who should be admin, ordinary user or pending? Which groups need which models and features?
6. Do I already use Traefik, Caddy, nginx/Nginx Proxy Manager or none? Is HTTPS public-domain, home-only or unnecessary on this machine?
7. Have I backed up data and the existing WEBUI_SECRET_KEY?

THEN FOLLOW THE MATCHING PATH
- Existing install: edit that project's current environment and mounts. Preserve its secret key and data; do not generate a replacement key.
- No install: follow the linked basic-install guide. For an empty training project only, use ~/docker_volumes/open-webui-team/{data,config,logs,backups}; Windows uses $HOME\docker_volumes\open-webui-team and New-Item.
- Generate a fresh key only for an empty project: Linux/Mac openssl rand -hex 32; Windows use 32 bytes from .NET RandomNumberGenerator. Save it locally in .env, never chat.
- Minimal CPU training docker-compose.yml:
services:
  ollama:
    image: ollama/ollama:0.40.21
    restart: unless-stopped
    volumes: ["./data/ollama:/root/.ollama"]
  open-webui:
    image: ghcr.io/open-webui/open-webui:v0.13.5
    restart: unless-stopped
    ports: ["127.0.0.1:3000:8080"]
    environment:
      OLLAMA_BASE_URL: http://ollama:11434
      WEBUI_SECRET_KEY: ${WEBUI_SECRET_KEY}
      WEBUI_AUTH: "true"
      DEFAULT_USER_ROLE: pending
      BYPASS_MODEL_ACCESS_CONTROL: "false"
    volumes: ["./data/webui:/app/backend/data"]
Start docker compose up -d. For a training model: docker compose exec ollama ollama pull llama3.2.
- Native Ollama: keep the existing twin's connection; a container's localhost is not the host.
- Bootstrap the first administrator locally. Set DEFAULT_USER_ROLE=pending. Approve known people as user, not admin. Close signups in the admin settings when enrollment finishes.
- Admin Panel > Users > Groups: reduce Default Permissions first, then make Members and Trusted groups. Rights are additive; a false group setting cannot remove another grant.
- Set models Private and grant Read to the intended groups. Review connected base models as well as presets. Do not confuse hidden/default models with authorization. Keep BYPASS_MODEL_ACCESS_CONTROL=false.
- Use ordinary test accounts to check allowed and denied access. Never use only an admin account as proof.
- Traefik: use external proxy network, open-webui networks [default,proxy], no ports, entrypoints=https, tls=true, tls.certresolver=le, service port 8080 and the guide's labels.
- Caddy: follow the guide's Caddyfile; native reverse_proxy localhost:3000, Docker reverse_proxy open-webui:8080. Docker Caddy image is caddy:2.11.9. Public domain needs DNS and 80/443; home-only uses tls internal and trusts the public root on each client.
- HTTPS routes set WEBUI_URL and CORS_ALLOW_ORIGIN to the actual https origin and enable secure cookies. For saved persistent settings, update the admin UI too.
- nginx or Nginx Proxy Manager: preserve authentication, WebSockets and streaming; use its official docs, not guessed flags.
- Native no-Docker users: use the same browser access plan; deployment paths and backups follow their existing DATA_DIR rather than this Compose example.

CHECK IT WORKED
docker compose ps; docker compose logs --tail 100 open-webui; curl -I http://localhost:3000 (Windows curl.exe).
Check two separate ordinary logins: Members sees the shared local model and cannot use Trusted-only models; Trusted gets its intended extra access. Pending stays unapproved. No account sees another user's unshared chat.
For HTTPS, curl -I https://ai.example.com validates the certificate; check sign-in and streaming in the browser.

RULES FOR YOU
Keep Open WebUI v0.13.5 and Ollama 0.40.21 pinned; no :main or :latest and no invented authentication variables.
On an error show it and read https://docs.openwebui.com/features/authentication-access/rbac and the troubleshooting docs.
Keep Ollama, the database, secrets and backups private. Limit admins; WEBUI_SECRET_KEY does not encrypt chat history. Dummy domains and paths must be adapted. Never ask for passwords, tokens or keys in chat.
Tested by DIY Lab Hub: not yet.

Step 1: Check the deployment before inviting people#

Use the current project if we already have one. The following empty-project reference makes our storage and security choices explicit; it is not a migration command.

Linux#

For a fresh training instance only:

Run in terminalbash
mkdir -p ~/docker_volumes/open-webui-team/{data,config,logs,backups}
cd ~/docker_volumes/open-webui-team
openssl rand -hex 32

Save the generated value privately as WEBUI_SECRET_KEY=<generated-value> in .env, then chmod 600 .env. Do not change an existing installation's key.

Windows (PowerShell)#

Codepowershell
$project = "$HOME\docker_volumes\open-webui-team"
New-Item -ItemType Directory -Force "$project\data","$project\config","$project\logs","$project\backups" | Out-Null
Set-Location $project
$bytes = New-Object byte[] 32
[Security.Cryptography.RandomNumberGenerator]::Create().GetBytes($bytes)
$secret = -join ($bytes | ForEach-Object { '{0:x2}' -f $_ })
Set-Content .env "WEBUI_SECRET_KEY=$secret"

Use the file's Security tab to limit access to its owner. The script is for a new project; running it on an existing .env would replace that file.

Mac (Terminal)#

Same commands as Linux for the training workspace. Keep the native Ollama connection from the twin for GPU use.

Save this reference as docker-compose.yml only in the empty training project:

File contentyaml
services:
  ollama:
    image: ollama/ollama:0.40.21
    restart: unless-stopped
    volumes: ["./data/ollama:/root/.ollama"]
  open-webui:
    image: ghcr.io/open-webui/open-webui:v0.13.5
    restart: unless-stopped
    ports: ["127.0.0.1:3000:8080"]
    environment:
      OLLAMA_BASE_URL: http://ollama:11434
      WEBUI_SECRET_KEY: ${WEBUI_SECRET_KEY}
      WEBUI_AUTH: "true"
      DEFAULT_USER_ROLE: pending
      BYPASS_MODEL_ACCESS_CONTROL: "false"
    volumes: ["./data/webui:/app/backend/data"]

Run docker compose config --quiet, docker compose up -d, then docker compose ps. For the training instance, download one local model with docker compose exec ollama ollama pull llama3.2. Check it worked: the page opens at http://localhost:3000 and can use that model.

Potential issue: the existing instance already occupies port 3000. Work in its project instead of creating another copy.

Step 2: Establish accounts and roles#

The first account becomes administrator. Create it while the interface is local, before anyone else can reach the bootstrap page. Afterwards use a separate ordinary account for everyday chat.

Linux#

Open the page in a browser. In the admin settings, choose pending approval for new accounts. Let known people register, or create their accounts through Admin Panel > Users. Review each identity before changing its role to User.

Windows (PowerShell)#

The same browser steps apply. Use a separate browser profile or private window for the ordinary account so the administrator's session does not affect the check.

Mac (Terminal)#

The same browser steps apply. Do not share the administrator's password through a shared browser profile.

Check it worked: a pending account cannot use the application; an approved user can sign in without administrative controls. Close registration in the admin authentication settings after enrollment. ENABLE_SIGNUP controls registration; DEFAULT_USER_ROLE controls the role of newly created accounts.

RoleOur use
AdminTrusted operator who can change the instance
UserNormal household or team member
PendingAccount waiting for approval; no normal application access

Tip: Pending approval is useful during enrollment. It is not a reason to leave registration open indefinitely.

Build the group permission plan#

Open Admin Panel > Users > Groups > Default Permissions. Turn off advanced features that everyone does not need, including tool creation, model creation, public sharing and file uploads where appropriate. Then add rights only to the groups that need them.

Create example groups Members and Trusted. These names describe our example, not built-in roles. We give each group a clear description and add known accounts explicitly.

SettingMembersTrusted
Ordinary chatAllowedAllowed
Shared local modelReadRead
Extra modelNo grantRead
File uploadOff unless neededGrant only if needed
Create/import toolsOffOff unless trusted as server operators
AdministratorNoNo

The permissions are additive: global defaults plus every group grant. If a global permission is on, switching it off in Members cannot remove it. A person belonging to both groups keeps every right either group grants. To revoke a right, remove it from the defaults and every relevant group.

Tip: Keep the defaults small. It is easier to add one justified permission than to find every group that accidentally grants it.

Creating or importing tools can execute code on the server. A group name such as Trusted does not make that safe automatically; grant this only to people we would trust with server access. For a small chat service we leave it off.

Give groups access to models#

Open the model management settings and edit the connected models we intend to share. Use Private visibility and grant Read to the appropriate groups. In Workspace > Models, apply the same rule to any custom presets. Review base-model entries as well: a private preset does not remove another public route to its underlying model.

For the shared local model, give Members and Trusted read access. For the extra model, grant only Trusted. Leave write access with the operator unless a specific maintainer needs it. Write access is broader than permission to chat.

Do not use a model's default selection or hidden state as an access policy. Defaults choose what starts selected. Hiding tidies the picker. Access grants decide who can use a private model. Keep BYPASS_MODEL_ACCESS_CONTROL=false, because enabling it bypasses model restrictions.

Check using two ordinary accounts. Record which models each sees and whether it can start a new chat with them. A restricted model must also be refused when requested directly; if using API keys in this deployment, check the same restriction through its documented API route. An administrator can have broader access, so its model list is not an ordinary user's result.

Admin settings that need a deliberate choice#

Keep one source of truth for settings. Open WebUI normally persists many settings in its database; after a value has been saved there, an environment-variable edit may not change it. For this small shared instance, we manage authentication and model settings in the admin UI and record the decisions in config/access-plan.md.

ENABLE_PERSISTENT_CONFIG=false changes that behavior, but UI changes can then disappear at restart. Do not toggle it as a blanket repair. Check the specific setting's persistence documentation.

Tell users what privacy means here. Regular accounts have separate unshared chats. Administrators, database operators and backup operators remain part of the trust boundary. WEBUI_SECRET_KEY signs sessions and protects some stored secrets; it does not encrypt chat history. Disk encryption and protected backups serve a different purpose. Groups are not separate infrastructure for teams that must distrust each other's operators.

If a departing member has API access, review and revoke that access as well as changing account status. Review shared items and memberships before deleting accounts. Keep the branding supplied by the project; this guide does not require rebranding.

Put it behind HTTPS with Traefik#

Local-only users can skip this. For a public domain, point DNS at the server and make 80/443 available to the chosen proxy. Keep sign-in enabled.

With Traefik#

Use an existing Traefik with https and le. Check docker network inspect proxy; create it with docker network create proxy only if missing. Remove Open WebUI's ports block. Merge the following into that service, keeping its other environment and volume settings:

File contentyaml
    networks: [default, proxy]
    environment:
      OLLAMA_BASE_URL: http://ollama:11434
      WEBUI_SECRET_KEY: ${WEBUI_SECRET_KEY}
      WEBUI_AUTH: "true"
      DEFAULT_USER_ROLE: pending
      BYPASS_MODEL_ACCESS_CONTROL: "false"
      WEBUI_URL: https://ai.example.com
      CORS_ALLOW_ORIGIN: https://ai.example.com
      WEBUI_SESSION_COOKIE_SECURE: "true"
      WEBUI_AUTH_COOKIE_SECURE: "true"
    labels:
      - traefik.enable=true
      - traefik.docker.network=proxy
      - traefik.http.routers.webui-team.rule=Host(`ai.example.com`)
      - traefik.http.routers.webui-team.entrypoints=https
      - traefik.http.routers.webui-team.tls=true
      - traefik.http.routers.webui-team.tls.certresolver=le
      - traefik.http.services.webui-team.loadbalancer.server.port=8080
networks:
  proxy:
    external: true

Only Open WebUI joins proxy. Ollama stays on the default network. Confirm the saved WebUI URL in the admin settings too. Traefik supports WebSockets; avoid middleware that buffers streamed answers.

Without Traefik: Caddy#

With native Caddy on this host, use:

File contenttext
ai.example.com {
    reverse_proxy localhost:3000
}

For Docker, create config/Caddyfile, change upstream to open-webui:8080 and add this service to the training Compose file:

File contentyaml
  caddy:
    image: caddy:2.11.9
    restart: unless-stopped
    ports: ["80:80", "443:443"]
    volumes:
      - ./config/Caddyfile:/etc/caddy/Caddyfile:ro
      - ./data/caddy:/data
      - ./data/caddy-config:/config

Remove the Open WebUI host port when only containerized Caddy should reach it. Apply the same URL, origin and secure-cookie settings as above. Public certificates are automatic when DNS and challenge ports work.

Native installation follows Caddy's official instructions: Linux package and sudo systemctl reload caddy; Windows official binary and caddy run --config Caddyfile; Mac brew install caddy and the same run command.

Home-only HTTPS uses ai.home.arpa, local DNS and tls internal inside the site block. Copy Caddy's public root from data/caddy/pki/authorities/local/root.crt for the Docker route. Linux clients install it under /usr/local/share/ca-certificates/ then run sudo update-ca-certificates; Windows uses administrator certutil -addstore -f ROOT root.crt; Mac imports it into the System keychain with Always Trust. Never distribute the CA private key.

Security and testing#

Run docker compose ps, docker compose logs --tail 100 open-webui and docker inspect "$(docker compose ps -q open-webui)". PowerShell can use docker inspect (docker compose ps -q open-webui). Avoid sharing an inspect dump: it can contain environment secrets.

Check curl -I https://ai.example.com (curl.exe on Windows), then sign in and send a chat. A reachable page proves neither group enforcement nor privacy. Work through the matrix:

AccountCheck
Signed outCannot open private chats or use models
PendingCannot chat until approved
Members-only userCan use the shared model; cannot use the extra one
Trusted userGets the extra model and only the intended features
Either ordinary userCannot read the other's unshared chat

Also remove a test membership and check access again in a new session. Keep results in the access plan, with the date. Expected outcomes here are not our own test evidence.

Tip: Use a new ordinary-account session after changes. An open administrator tab is a common source of false reassurance.

Common mistakes#

MistakeWhy it happensDo this instead
Putting a user in a deny groupPermissions are additiveRemove the grant from all groups and defaults
Sharing one admin loginSetup begins with an adminCreate separate ordinary accounts
Using hidden/default models as restrictionsVisibility feels like securityUse private models with explicit read grants
Protecting a preset but leaving the base publicThe same model has multiple entriesAudit the full connected catalog
Expecting an env edit to override saved settingsPersistent config takes precedenceChange the saved setting deliberately
An AI suggests WEBUI_AUTH_ENABLEDIt copies obsolete tutorialsUse documented WEBUI_AUTH and keep it true
Backing up only a chat exportUsers and grants also live in the databaseBack up the full persistent folder and key

These reflect the official RBAC, environment and backup documentation.

Troubleshooting#

ProblemSolution
New member cannot chatCheck Pending role, group membership and model read access
Everyone can use a restricted modelCheck public grants, alternate base entries and BYPASS_MODEL_ACCESS_CONTROL
Removing one group changes nothingAnother group or the defaults still grants the right
Signup setting returns after restartReview its persisted admin setting
Chats fail only through HTTPSCheck exact CORS_ALLOW_ORIGIN and WebSocket proxy support
No models for any ordinary userReview intended read grants before broadening visibility
Restore has no recent accountsCheck whether a live SQLite file was copied without its WAL data

is not an accepted origin.#

This exact fragment is documented for WebSocket origin failures. Match the actual browser origin, including HTTPS and any port, in CORS_ALLOW_ORIGIN. Do not use a wildcard as a permissions repair.

Known bugs#

The current docs warn that earlier permission panels could show public tool/note sharing differently from backend enforcement. Saved permissions can survive updates, so review those grants explicitly. Recent issues checked on 6 December include development-build regressions; they do not prove a stable v0.13.5 group-access failure. Read the exact affected version before applying a workaround.

Updates and backups#

Accounts, group memberships, resource grants and chats must be recovered together. For the training SQLite layout, stop Open WebUI and archive its entire data directory, not just webui.db. SQLite can have recent writes in a WAL file.

Linux/Mac script, saved as config/backup.sh:

File contentbash
#!/usr/bin/env bash
set -euo pipefail
cd "$HOME/docker_volumes/open-webui-team"
mkdir -p backups
docker compose stop open-webui
trap 'docker compose start open-webui' EXIT
tar -czf "backups/webui-team-$(date +%Y%m%d-%H%M%S).tgz" data/webui config .env docker-compose.yml

If Caddy configuration must be recovered, retain its data separately during a planned consistent backup too. Encrypt archives containing .env, private chats or uploaded files.

Windows uses the same stop/archive/start procedure. Run tar -czf "backups/webui-team-$(Get-Date -Format yyyyMMdd-HHmmss).tgz" data/webui config .env docker-compose.yml inside PowerShell try/finally, check $LASTEXITCODE, and restart Open WebUI in the finally block. Schedule it at 03:00 with Task Scheduler. On Linux/Mac use crontab -e: 0 3 * * * /bin/bash "$HOME/docker_volumes/open-webui-team/config/backup.sh". Keep another protected copy off the machine.

For a restore rehearsal, unpack one archive into an empty scratch folder. Use a different Compose project, relative mounts, loopback port 3001 and no proxy labels. Put the restored app on an internal Docker network without external model/tool connections. Check accounts, memberships, chats and the access plan before allowing any external connections. Keep the original key. For an existing PostgreSQL deployment, include a database dump; this SQLite procedure alone is insufficient.

Before updating, read release notes and rehearse on the isolated copy. Change the pinned tag, run docker compose pull and docker compose up -d, then repeat the ordinary-account checks. v0.13.5 changes chat storage; after migration, rollback means restoring the matching database backup and old image together.

Performance and resources#

We did not measure resource use. More accounts do not create more GPU memory. Simultaneous chats, context length and model size drive inference demand. Begin with a small local model and observe docker stats and docker compose exec ollama ollama ps.

Keep one application instance for this small deployment. Multiple replicas require shared state and a separate architecture review; copying this SQLite directory into several running containers is not a scaling plan.

FAQ#

Can groups remove a permission? No. Rights add together. Remove every grant that supplies the unwanted right.

Does Read let a person edit the model? No. We grant Read for chat use; maintainers need separately reviewed write access.

Are groups private from the server operator? No. Use separate instances and operators when a separate trust boundary is required.

Does the secret key encrypt chats? No. Protect the database, disk and backups separately.

Can we use the browser plan without Docker? Yes. Accounts and grants are application features. Back up the native installation's actual data directory and key.

Sources#

Official sources read on 6 December 2026:

Checked against the official docs on 2026-12-06. Tested by DIY Lab Hub: not yet.

Try one of these