Feature: Intermediate "User Manager" role between Admin and User
Author: OllornogCreated Feb 20, 2026Updated Sep 19, 2026
### Feature description
User Manager Role
Permission Matrix
Capability | Admin | User Manager | User -- | -- | -- | -- Manage users (create, edit, delete) | ✓ | ✓ | ✗ Manage group memberships | ✓ | ✓ | ✗ Generate login codes / signup tokens | ✓ | ✓ | ✗ Manage OIDC clients | ✓ | ✗ | ✗ Manage API keys | ✓ | ✗ | ✗ Change app configuration | ✓ | ✗ | ✗ Manage other admins | ✓ | ✗ | ✗Implementation Outline
Backend
- Extend the user model:
isAdmin bool→role enum (admin, user_manager, user)(or similar) - Add middleware/guards on existing API endpoints to check the role
- User Manager gets access to
/api/users/*and/api/user-groups/* - User Manager is denied access to
/api/oidc/*,/api/app-config/*,/api/api-keys/*
Frontend
- Conditionally render navigation items in
/settingsbased on role - User Manager sees "Users" and "Groups" tabs only
- "OIDC Clients", "Application Configuration", and "API Keys" are hidden and inaccessible
Migration
- Existing admins remain admins
- Existing users remain users
- No breaking change — purely additive
Source: pocket-id/pocket-id